Fuck GCC
Some checks failed
CMake / ubuntu-latest - shared=OFF, pthread=OFF, posix=OFF (push) Failing after 15s
CMake / ubuntu-latest - shared=ON, pthread=OFF, posix=OFF (push) Failing after 13s
CMake / ubuntu-latest - shared=OFF, pthread=OFF, posix=ON (push) Failing after 11s
CMake / ubuntu-latest - shared=ON, pthread=OFF, posix=ON (push) Failing after 10s
CMake / ubuntu-latest - shared=OFF, pthread=ON, posix=ON (push) Failing after 11s
CMake / ubuntu-latest - shared=ON, pthread=ON, posix=ON (push) Failing after 15s
Some checks failed
CMake / ubuntu-latest - shared=OFF, pthread=OFF, posix=OFF (push) Failing after 15s
CMake / ubuntu-latest - shared=ON, pthread=OFF, posix=OFF (push) Failing after 13s
CMake / ubuntu-latest - shared=OFF, pthread=OFF, posix=ON (push) Failing after 11s
CMake / ubuntu-latest - shared=ON, pthread=OFF, posix=ON (push) Failing after 10s
CMake / ubuntu-latest - shared=OFF, pthread=ON, posix=ON (push) Failing after 11s
CMake / ubuntu-latest - shared=ON, pthread=ON, posix=ON (push) Failing after 15s
Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
@@ -11,6 +11,9 @@
|
|||||||
# endif
|
# endif
|
||||||
# define _XOPEN_SOURCE 200809L
|
# define _XOPEN_SOURCE 200809L
|
||||||
#else
|
#else
|
||||||
|
# ifdef _POSIX_C_SOURCE
|
||||||
|
# undef _POSIX_C_SOURCE
|
||||||
|
# endif
|
||||||
# define _POSIX_C_SOURCE 0L
|
# define _POSIX_C_SOURCE 0L
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -23,6 +26,12 @@
|
|||||||
#ifdef DCFG_PTHREAD_SUPPORT
|
#ifdef DCFG_PTHREAD_SUPPORT
|
||||||
# include <pthread.h>
|
# include <pthread.h>
|
||||||
#else
|
#else
|
||||||
|
# ifdef __USE_POSIX199506
|
||||||
|
# undef __USE_POSIX199506
|
||||||
|
# endif
|
||||||
|
# ifdef __USE_UNIX98
|
||||||
|
# undef __USE_UNIX98
|
||||||
|
# endif
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int unused;
|
int unused;
|
||||||
} pthread_mutex_t;
|
} pthread_mutex_t;
|
||||||
|
Reference in New Issue
Block a user