aboutsummaryrefslogtreecommitdiff
path: root/OSC-client.c
diff options
context:
space:
mode:
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 */ ;