/* Functions to act on "tchar" strings, which have a platform-dependent encoding
* and character size. */
-#ifdef __WIN32__
+#ifdef _WIN32
#include <wchar.h>
/*
* For Windows builds, the "tchar" type will be 2 bytes and will be equivalent
_wcserror_s((buf), (bufsize), (errnum))
# define trename win32_rename_replacement
# define tglob win32_wglob
-#else /* __WIN32__ */
+#else /* _WIN32 */
/*
* For non-Windows builds, the "tchar" type will be one byte and will specify a
* string encoded in UTF-8 with the additional possibility of surrogate
# define trename rename
# define taccess access
# define tglob glob
-#endif /* !__WIN32__ */
+#endif /* !_WIN32 */
#endif /* _WIMLIB_TCHAR_H */