Sfoglia il codice sorgente

_int64 does not exist but __int64 on WIN32

Otherwise it does not compile on WIN32.
Geert Van Laethem 8 anni fa
parent
commit
51ead1c0fb
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/utils/gravity_utils.h

+ 1 - 1
src/utils/gravity_utils.h

@@ -13,7 +13,7 @@
 #include <stdbool.h>
 
 #if defined(_WIN32)
-typedef unsigned _int64 nanotime_t;
+typedef unsigned __int64 nanotime_t;
 #define DIRREF			HANDLE
 #else
 #include <dirent.h>