Commit 34a82fca49156c8a2d9d0742a8315789ec7717db

Ozkan Sezer 2020-10-10T20:50:02

SDL_cpuinfo.c (OS2): undefine HAVE_SYSCTLBYNAME

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/cpuinfo/SDL_cpuinfo.c b/src/cpuinfo/SDL_cpuinfo.c
index f9e9509..a088696 100644
--- a/src/cpuinfo/SDL_cpuinfo.c
+++ b/src/cpuinfo/SDL_cpuinfo.c
@@ -28,6 +28,7 @@
 #include "../core/windows/SDL_windows.h"
 #endif
 #if defined(__OS2__)
+#undef HAVE_SYSCTLBYNAME
 #define INCL_DOS
 #include <os2.h>
 #ifndef QSV_NUMPROCESSORS