mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 09:34:19 +00:00
Merge pull request #905 from Ryozuki/pr_mingw_workaround
MinGW putenv workaround
This commit is contained in:
commit
97619ede53
|
@ -38,6 +38,13 @@
|
|||
#include "graphics_threaded.h"
|
||||
#include "backend_sdl.h"
|
||||
|
||||
#ifdef __MINGW32__
|
||||
extern "C"
|
||||
{
|
||||
int putenv(const char *);
|
||||
}
|
||||
#endif
|
||||
|
||||
// ------------ CGraphicsBackend_Threaded
|
||||
|
||||
void CGraphicsBackend_Threaded::ThreadFunc(void *pUser)
|
||||
|
|
Loading…
Reference in a new issue