瀏覽代碼

mingw time workaround

lsalzman 13 年之前
父節點
當前提交
22f1236079
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      host.c

+ 1 - 0
host.c

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