Explorar o código

include mmsystem.h for timeGetTime

Lee Salzman %!s(int64=11) %!d(string=hai) anos
pai
achega
99004c45ac
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      win32.c

+ 2 - 1
win32.c

@@ -4,9 +4,10 @@
 */
 #ifdef _WIN32
 
-#include <time.h>
 #define ENET_BUILDING_LIB 1
 #include "enet/enet.h"
+#include <windows.h>
+#include <mmsystem.h>
 
 static enet_uint32 timeBase = 0;