File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -826,7 +826,7 @@ endmacro()
826
826
macro (CheckPTHREAD )
827
827
cmake_push_check_state ()
828
828
if (SDL_PTHREADS )
829
- if (ANDROID )
829
+ if (ANDROID OR SDL_PTHREADS_PRIVATE )
830
830
# the android libc provides built-in support for pthreads, so no
831
831
# additional linking or compile flags are necessary
832
832
elseif (LINUX )
Original file line number Diff line number Diff line change 33
33
34
34
#cmakedefine SDL_PLATFORM_PRIVATE 1
35
35
36
+ #ifdef SDL_PLATFORM_PRIVATE
37
+ #include "SDL_begin_config_private.h"
38
+ #endif
39
+
36
40
#cmakedefine HAVE_GCC_ATOMICS 1
37
41
#cmakedefine HAVE_GCC_SYNC_LOCK_TEST_AND_SET 1
38
42
368
372
#cmakedefine SDL_TIME_N3DS 1
369
373
#cmakedefine SDL_TIME_NGAGE 1
370
374
375
+ #cmakedefine SDL_TIME_PRIVATE 1
376
+
371
377
/* Enable various timer systems */
372
378
#cmakedefine SDL_TIMER_HAIKU 1
373
379
#cmakedefine SDL_TIMER_UNIX 1
471
477
#cmakedefine SDL_GPU_VULKAN 1
472
478
#cmakedefine SDL_GPU_METAL 1
473
479
480
+ #cmakedefine SDL_GPU_PRIVATE 1
481
+
474
482
/* Enable system power support */
475
483
#cmakedefine SDL_POWER_ANDROID 1
476
484
#cmakedefine SDL_POWER_LINUX 1
505
513
/* Enable system storage support */
506
514
#cmakedefine SDL_STORAGE_STEAM @SDL_STORAGE_STEAM@
507
515
516
+ #cmakedefine SDL_STORAGE_PRIVATE 1
517
+
508
518
/* Enable system FSops support */
509
519
#cmakedefine SDL_FSOPS_POSIX 1
510
520
#cmakedefine SDL_FSOPS_WINDOWS 1
You can’t perform that action at this time.
0 commit comments