aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rwxr-xr-xgui/state.c8
-rwxr-xr-xgui/w_envgen.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/gui/state.c b/gui/state.c
index f078612..063b15f 100755
--- a/gui/state.c
+++ b/gui/state.c
@@ -73,7 +73,7 @@ void state_dosave(t_state *x)
t_symbol* dir;
char dirstr[255];
-#ifdef NT
+#ifdef _WIN32
dir = gensym("");
#else
dir = canvas_getdir(x->x_canvas);
@@ -81,7 +81,7 @@ void state_dosave(t_state *x)
strcpy(dirstr,dir->s_name);
-#ifndef NT
+#ifndef _WIN32
strcat(dirstr,"/");
#endif
@@ -176,7 +176,7 @@ void state_load(t_state *x)
t_symbol* dir;
char dirstr[255];
-#ifdef NT
+#ifdef _WIN32
dir = gensym("");
#else
dir = canvas_getdir(x->x_canvas);
@@ -184,7 +184,7 @@ void state_load(t_state *x)
strcpy(dirstr,dir->s_name);
-#ifndef NT
+#ifndef _WIN32
strcat(dirstr,"/");
#endif
diff --git a/gui/w_envgen.h b/gui/w_envgen.h
index c7acd81..1cf0081 100755
--- a/gui/w_envgen.h
+++ b/gui/w_envgen.h
@@ -1,7 +1,7 @@
#include <stdio.h>
#include <string.h>
#include <math.h>
-#ifdef NT
+#ifdef _WIN32
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#define abs fabs