]> wimlib.net Git - wimlib/blobdiff - include/wimlib/win32.h
Consistently use _WIN32 instead of __WIN32__
[wimlib] / include / wimlib / win32.h
index 71a77107a837f5678ae16a20f2b4ac8c164c96cb..164620963affe2891ed4a89a8584f078e9d370cb 100644 (file)
@@ -5,7 +5,7 @@
 #ifndef _WIMLIB_WIN32_H
 #define _WIMLIB_WIN32_H
 
-#ifdef __WIN32__
+#ifdef _WIN32
 
 #include "wimlib/types.h"
 
@@ -64,6 +64,6 @@ win32_pread(int fd, void *buf, size_t count, off_t offset);
 extern ssize_t
 win32_pwrite(int fd, const void *buf, size_t count, off_t offset);
 
-#endif /* __WIN32__ */
+#endif /* _WIN32 */
 
 #endif /* _WIMLIB_WIN32_H */