From 24a06ed38135679efe65e3a6cf844c64cd04f79e Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Wed, 10 Oct 2018 00:18:00 -0400 Subject: Migrate Windows conditional code to _WIN32 define. --- ppdc/ppdc-source.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ppdc') 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 -#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); -- cgit v1.2.1