summaryrefslogtreecommitdiff
path: root/soltools/mkdepend/ifparser.c
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-16 11:26:51 +0200
committerMichael Stahl <mstahl@redhat.com>2016-02-16 10:37:55 +0000
commitce43d0ae9279edbf1ad108fe0d8325327a038d49 (patch)
treea0fbf7bbd608d1185005a0de36496c6f3656e798 /soltools/mkdepend/ifparser.c
parent049cf885c6e6c12ac9fa20bcb4ca1472de5b9115 (diff)
use consistent #define checks for the Windows platform
stage 1 of replacing usage of various checks for the windows platform with the compiler-defined '_WIN32' macro Change-Id: Iece73abdee530937e0737190b1aa97a46cd3075f Reviewed-on: https://gerrit.libreoffice.org/22390 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'soltools/mkdepend/ifparser.c')
-rw-r--r--soltools/mkdepend/ifparser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/soltools/mkdepend/ifparser.c b/soltools/mkdepend/ifparser.c
index 39d36426279b..274a72a7fce8 100644
--- a/soltools/mkdepend/ifparser.c
+++ b/soltools/mkdepend/ifparser.c
@@ -96,7 +96,7 @@ parse_number (IfParser *g, const char *cp, int *valp)
if (!isdigit(*cp))
return CALLFUNC(g, handle_error) (g, cp, "number");
-#ifdef WIN32
+#ifdef _WIN32
{
char *cp2;
*valp = strtol(cp, &cp2, 0);