mingw time workaround

This commit is contained in:
lsalzman 2012-05-30 10:34:14 -07:00
parent 2800fd4e0e
commit 22f1236079

1
host.c
View file

@ -3,6 +3,7 @@
@brief ENet host management functions @brief ENet host management functions
*/ */
#define ENET_BUILDING_LIB 1 #define ENET_BUILDING_LIB 1
#define __MINGW_USE_VC2005_COMPAT 1
#include <string.h> #include <string.h>
#include <time.h> #include <time.h>
#include "enet/enet.h" #include "enet/enet.h"