Overview
Comment: | Make GCC 5.3.0 on MinGW happy again |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
4e7252f5cd2f75dff67616abcb91c24c |
User & Date: | js on 2022-12-18 09:45:14 |
Other Links: | manifest | tags |
Context
2022-12-20
| ||
14:24 | Don't use mfence in inline asm as it requires SSE2 check-in: 72758f5810 user: js tags: trunk | |
2022-12-18
| ||
09:45 | Make GCC 5.3.0 on MinGW happy again check-in: 4e7252f5cd user: js tags: trunk | |
2022-12-17
| ||
23:46 | Work around an ICE in Clang 3.7.0 on Windows/x86 check-in: 4102ee0c5e user: js tags: trunk | |
Changes
Modified src/OFPlainThread.h from [312286356e] to [da668c8353].
︙ | ︙ | |||
18 19 20 21 22 23 24 | #include "platform.h" #if !defined(OF_HAVE_THREADS) || \ (!defined(OF_HAVE_PTHREADS) && !defined(OF_WINDOWS) && !defined(OF_AMIGAOS)) # error No threads available! #endif | | | 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #include "platform.h" #if !defined(OF_HAVE_THREADS) || \ (!defined(OF_HAVE_PTHREADS) && !defined(OF_WINDOWS) && !defined(OF_AMIGAOS)) # error No threads available! #endif #import "OFObject.h" #if defined(OF_HAVE_PTHREADS) # include <pthread.h> typedef pthread_t OFPlainThread; #elif defined(OF_WINDOWS) # include <windows.h> typedef HANDLE OFPlainThread; |
︙ | ︙ |
Modified src/platform/Windows/OFPlainCondition.m from [cd952f15d7] to [032e887422].
︙ | ︙ | |||
14 15 16 17 18 19 20 21 22 23 24 25 26 27 | */ #include "config.h" #include <errno.h> #import "OFPlainCondition.h" #include <windows.h> int OFPlainConditionNew(OFPlainCondition *condition) { condition->count = 0; | > | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | */ #include "config.h" #include <errno.h> #import "OFPlainCondition.h" #import "OFConstantString.h" #include <windows.h> int OFPlainConditionNew(OFPlainCondition *condition) { condition->count = 0; |
︙ | ︙ |
Modified src/platform/Windows/OFPlainThread.m from [d2bc6a9806] to [8435804c16].
︙ | ︙ | |||
14 15 16 17 18 19 20 | */ #include "config.h" #include <errno.h> #import "OFPlainThread.h" | < | | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | */ #include "config.h" #include <errno.h> #import "OFPlainThread.h" #import "OFConstantString.h" #include <windows.h> struct ThreadContext { void (*function)(id); id object; }; |
︙ | ︙ |