Sfoglia il codice sorgente

u_int8_t, etc are non-standard, so define on all platforms

Thomas Leonard 10 anni fa
parent
commit
9f4f2c6d57
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      include/types-compat.h

+ 2 - 1
include/types-compat.h

@@ -13,11 +13,12 @@
 #ifdef _WIN32
 /* Not sure what to do about __pure2 on windows */
 #define __pure2 
+#endif
+
 typedef uint8_t               u_int8_t;
 typedef uint16_t              u_int16_t;
 typedef uint32_t              u_int32_t;
 typedef uint64_t              u_int64_t;
-#endif
 
 
 #endif