Add support for compiling under MinGW + fix Windows compiling in general

This commit is contained in:
wuggy 2026-04-17 15:05:11 -07:00
commit a5cf494890
56 changed files with 243 additions and 76 deletions

View file

@ -1 +1,13 @@
// Intentionally left blank
/*
* Stagefright's win32 include path shadows the toolchain <pthread.h>.
* On MinGW we need the real pthread declarations for libstdc++ gthr.
*/
#ifndef stagefright_win32_pthread_h
#define stagefright_win32_pthread_h
#if defined(__MINGW32__)
# include_next <pthread.h>
#endif
#endif