mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58: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 "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)
|
||||||
|
|
Loading…
Reference in a new issue