aboutsummaryrefslogtreecommitdiff
path: root/OSC-client.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-10-16 19:04:11 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-10-16 19:04:11 +0000
commitf82a2e687cc49d89a93c007ee66e682a3da4bc20 (patch)
treeae2879d49b3e23d0f823d800db469091ab8241c8 /OSC-client.c
parentf6900774ddec90855dd3aaa1b5bf1a6af4b28f21 (diff)
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
Diffstat (limited to 'OSC-client.c')
-rw-r--r--OSC-client.c6
1 files changed, 3 insertions, 3 deletions
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 <winsock2.h>
#include <io.h>
#include <stdio.h>
@@ -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 */ ;