Core/Thread: Remove MinGW compiler defines (as they are now part of NazaraUtils)

This commit is contained in:
SirLynix 2023-08-04 16:40:46 +02:00
parent c97bba71e7
commit 5444e4186e
2 changed files with 1 additions and 14 deletions

View File

@ -10,19 +10,6 @@
#include <NazaraUtils/Prerequisites.hpp> #include <NazaraUtils/Prerequisites.hpp>
#include <string> #include <string>
// Try to identify MinGW thread flavor
#ifdef NAZARA_COMPILER_MINGW
#if defined(__USING_MCFGTHREAD__)
#define NAZARA_COMPILER_MINGW_THREADS_MCF
#elif defined(_REENTRANT)
#define NAZARA_COMPILER_MINGW_THREADS_POSIX
#else
#define NAZARA_COMPILER_MINGW_THREADS_WIN32
#endif
#endif
#ifdef NAZARA_COMPILER_MINGW_THREADS_POSIX #ifdef NAZARA_COMPILER_MINGW_THREADS_POSIX
#include <pthread.h> #include <pthread.h>
#else #else

View File

@ -248,7 +248,7 @@ end
add_repositories("nazara-engine-repo https://github.com/NazaraEngine/xmake-repo") add_repositories("nazara-engine-repo https://github.com/NazaraEngine/xmake-repo")
add_requires("entt 3.12.2", "fmt", "frozen", "nazarautils") add_requires("entt 3.12.2", "fmt", "frozen", "nazarautils >=2023.08.04")
-- Module dependencies -- Module dependencies
if has_config("audio") then if has_config("audio") then