]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/file.h
Migrate Windows conditional code to _WIN32 define.
[thirdparty/cups.git] / cups / file.h
index 43137b1fc07d8ee47c8c1c93e640b8a19c3e90a1..49ca58a0c4e585ecf7dc151af9212fcc4cceca7c 100644 (file)
 #  include "versioning.h"
 #  include <stddef.h>
 #  include <sys/types.h>
-#  if defined(WIN32) && !defined(__CUPS_SSIZE_T_DEFINED)
+#  if defined(_WIN32) && !defined(__CUPS_SSIZE_T_DEFINED)
 #    define __CUPS_SSIZE_T_DEFINED
 /* Windows does not support the ssize_t type, so map it to off_t... */
 typedef off_t ssize_t;                 /* @private@ */
-#  endif /* WIN32 && !__CUPS_SSIZE_T_DEFINED */
+#  endif /* _WIN32 && !__CUPS_SSIZE_T_DEFINED */
 
 
 /*