From f82a2e687cc49d89a93c007ee66e682a3da4bc20 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 16 Oct 2012 19:04:11 +0000 Subject: use Microsoft standard macro: _WIN32 http://msdn.microsoft.com/en-us/library/b0084kay%28v=vs.80%29.aspx svn path=/branches/pd-extended/0.43/externals/oscx/; revision=16402 --- OSC-client.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OSC-client.c') diff --git a/OSC-client.c b/OSC-client.c index cea9e78..99645fa 100644 --- a/OSC-client.c +++ b/OSC-client.c @@ -52,7 +52,7 @@ MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. #define DONE 4 /* All open bundles have been closed, so can't write anything else */ -#ifdef WIN32 +#ifdef _WIN32 #include #include #include @@ -75,7 +75,7 @@ MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. char *OSC_errorMessage; -#ifndef WIN32 +#ifndef _WIN32 static int strlen(char *s); #endif static int OSC_padString(char *dest, char *str); @@ -427,7 +427,7 @@ int OSC_writeStringArg(OSCbuf *buf, char *arg) { /* String utilities */ -#ifndef WIN32 +#ifndef _WIN32 static int strlen(char *s) { int i; for (i=0; s[i] != '\0'; i++) /* Do nothing */ ; -- cgit v1.2.1