aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--popen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/popen.c b/popen.c
index 547fac4..0272714 100644
--- a/popen.c
+++ b/popen.c
@@ -48,7 +48,7 @@ static void popen_anything(t_popen *x, t_symbol *s, int argc, t_atom *argv)
strcat(cmd, arg);
post("sending %s",cmd);
-#ifdef NT
+#ifdef _WIN32
if( (pPipe = _popen( cmd, "rt" )) == NULL )
#else
if( (pPipe = popen( cmd, "r" )) == NULL )
@@ -60,7 +60,7 @@ static void popen_anything(t_popen *x, t_symbol *s, int argc, t_atom *argv)
if( fgets( x->buffer, 128, pPipe ) != NULL )
popen_out(x);
}
-#ifdef NT
+#ifdef _WIN32
_pclose( pPipe );
#else
pclose( pPipe );