summaryrefslogtreecommitdiff
path: root/ppdc
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 /ppdc
parent19dc16f764492eb3b1cf7c57b7f645e214cb9b3a (diff)
downloadcups-24a06ed38135679efe65e3a6cf844c64cd04f79e.tar.gz
Migrate Windows conditional code to _WIN32 define.
Diffstat (limited to 'ppdc')
-rw-r--r--ppdc/ppdc-source.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/ppdc/ppdc-source.cxx b/ppdc/ppdc-source.cxx
index 4e8cba7bb..c25d49668 100644
--- a/ppdc/ppdc-source.cxx
+++ b/ppdc/ppdc-source.cxx
@@ -20,9 +20,9 @@
#include "data/epson.h"
#include "data/hp.h"
#include "data/label.h"
-#ifndef WIN32
+#ifndef _WIN32
# include <sys/utsname.h>
-#endif // !WIN32
+#endif // !_WIN32
//
@@ -70,7 +70,7 @@ ppdcSource::ppdcSource(const char *f, // I - File to read
vars->add(new ppdcVariable("CUPS_VERSION_MINOR", MAKE_STRING(CUPS_VERSION_MINOR)));
vars->add(new ppdcVariable("CUPS_VERSION_PATCH", MAKE_STRING(CUPS_VERSION_PATCH)));
-#ifdef WIN32
+#ifdef _WIN32
vars->add(new ppdcVariable("PLATFORM_NAME", "Windows"));
vars->add(new ppdcVariable("PLATFORM_ARCH", "X86"));
@@ -87,7 +87,7 @@ ppdcSource::ppdcSource(const char *f, // I - File to read
vars->add(new ppdcVariable("PLATFORM_NAME", "unknown"));
vars->add(new ppdcVariable("PLATFORM_ARCH", "unknown"));
}
-#endif // WIN32
+#endif // _WIN32
if (f)
read_file(f, ffp);