Merge pull request #905 from Ryozuki/pr_mingw_workaround

MinGW putenv workaround
This commit is contained in:
Dennis Felsing 2017-10-18 12:42:36 +02:00 committed by GitHub
commit 97619ede53

View file

@ -38,6 +38,13 @@
#include "graphics_threaded.h" #include "graphics_threaded.h"
#include "backend_sdl.h" #include "backend_sdl.h"
#ifdef __MINGW32__
extern "C"
{
int putenv(const char *);
}
#endif
// ------------ CGraphicsBackend_Threaded // ------------ CGraphicsBackend_Threaded
void CGraphicsBackend_Threaded::ThreadFunc(void *pUser) void CGraphicsBackend_Threaded::ThreadFunc(void *pUser)