]> wimlib.net Git - wimlib/blobdiff - include/wimlib.h
wimlib.h: include <stdint.h> instead of <inttypes.h>
[wimlib] / include / wimlib.h
index 5941b9ee856a970fa0eee7221b0b98212df933f6..d22eb5811ffab8584caa3d30db7291ad0f606319 100644 (file)
 #include <stdio.h>
 #include <stddef.h>
 #include <stdbool.h>
-#include <inttypes.h>
+#include <stdint.h>
 #include <time.h>
 
 /** @addtogroup G_general
@@ -440,14 +440,14 @@ typedef struct WIMStruct WIMStruct;
 #define WIMLIB_WIMSTRUCT_DECLARED
 #endif
 
-#ifdef __WIN32__
+#ifdef _WIN32
 typedef wchar_t wimlib_tchar;
 #else
 /** See @ref sec_encodings */
 typedef char wimlib_tchar;
 #endif
 
-#ifdef __WIN32__
+#ifdef _WIN32
 /** Path separator for WIM paths passed back to progress callbacks.
  * This is forward slash on UNIX and backslash on Windows.  */
 #  define WIMLIB_WIM_PATH_SEPARATOR '\\'