]> wimlib.net Git - wimlib/blobdiff - include/wimlib.h
wimlib.h: test _WIN32 instead of __WIN32__
[wimlib] / include / wimlib.h
index 5941b9ee856a970fa0eee7221b0b98212df933f6..a45ebac308c5d829db4eaaf90fda0e0c7b7d711a 100644 (file)
@@ -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 '\\'