Fix Win32 GOS layer to allow later inclusion of WinSock2.

ugfx_release_2.6
inmarket 2013-11-16 01:53:00 +10:00
parent db74e7c823
commit 539c6c305a
1 changed files with 8 additions and 1 deletions

View File

@ -15,8 +15,15 @@
#if GFX_USE_OS_WIN32
//#define WIN32_LEAN_AND_MEAN
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0501 // Windows XP and up
#endif
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#undef WIN32_LEAN_AND_MEAN
#include <malloc.h>
/* Stop cygwin from defining these types */
#define __int8_t_defined