summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2019-06-16 14:22:02 -0400
committerFranklin Wei <git@fwei.tk>2019-06-16 14:28:56 -0400
commitb04f267ec39dadbfb922b477b8178ad15581db07 (patch)
treed382dd99813557a257d4532c992e3a2f8fc6e4b5
parent94e6a7dade44ee389f3feffe55f90098248f8810 (diff)
sdl: prevent simulator build from using pthreads
The simulator build will pull in the host SDL headers, which we can't filter out easily. A simple workaround is to simply remove the pthread include from our SDL. Change-Id: I09de0f2e85b891aa88958e21426ab450af516e76
-rw-r--r--apps/plugins/sdl/src/thread/SDL_thread_c.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/plugins/sdl/src/thread/SDL_thread_c.h b/apps/plugins/sdl/src/thread/SDL_thread_c.h
index 9534c8a9e0..d0804e9a81 100644
--- a/apps/plugins/sdl/src/thread/SDL_thread_c.h
+++ b/apps/plugins/sdl/src/thread/SDL_thread_c.h
@@ -35,8 +35,6 @@
#include "os2/SDL_systhread_c.h"
#elif SDL_THREAD_PTH
#include "pth/SDL_systhread_c.h"
-#elif SDL_THREAD_PTHREAD
-#include "pthread/SDL_systhread_c.h"
#elif SDL_THREAD_SPROC
#include "irix/SDL_systhread_c.h"
#elif SDL_THREAD_WIN32