summaryrefslogtreecommitdiff
path: root/cgi-bin
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2018-10-10 00:18:00 -0400
committerMichael R Sweet <michael.r.sweet@gmail.com>2018-10-10 00:18:00 -0400
commit24a06ed38135679efe65e3a6cf844c64cd04f79e (patch)
treed737fbd9e895a696d13967204efecd22da22eb24 /cgi-bin
parent19dc16f764492eb3b1cf7c57b7f645e214cb9b3a (diff)
downloadcups-24a06ed38135679efe65e3a6cf844c64cd04f79e.tar.gz
Migrate Windows conditional code to _WIN32 define.
Diffstat (limited to 'cgi-bin')
-rw-r--r--cgi-bin/cgi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cgi-bin/cgi.h b/cgi-bin/cgi.h
index 70a0edca5..c7e221b28 100644
--- a/cgi-bin/cgi.h
+++ b/cgi-bin/cgi.h
@@ -15,12 +15,12 @@
# include <time.h>
# include <sys/stat.h>
-# ifdef WIN32
+# ifdef _WIN32
# include <direct.h>
# include <io.h>
# else
# include <unistd.h>
-# endif /* WIN32 */
+# endif /* _WIN32 */
# include <cups/cups.h>
# include <cups/array.h>