X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=include%2Fwimlib.h;h=a45ebac308c5d829db4eaaf90fda0e0c7b7d711a;hp=5941b9ee856a970fa0eee7221b0b98212df933f6;hb=bdf5880ca32d1ae20933caedb4a5e4809ede4678;hpb=7557f6e3a32aca16a33aa72f50601ae8c1e9e8d6 diff --git a/include/wimlib.h b/include/wimlib.h index 5941b9ee..a45ebac3 100644 --- a/include/wimlib.h +++ b/include/wimlib.h @@ -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 '\\'