From b04f267ec39dadbfb922b477b8178ad15581db07 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Sun, 16 Jun 2019 14:22:02 -0400 Subject: 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 --- apps/plugins/sdl/src/thread/SDL_thread_c.h | 2 -- 1 file changed, 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 -- cgit