aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-06-18 23:29:15 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-06-18 23:29:15 +0000
commitc337dddbfa3846ae90096200a605dfb86e4b48e4 (patch)
treea38b0f4795c1d64da9e509b1538d72cc328981ec
parent2e043acb5ab823f30845045d58525d42c490df1e (diff)
switched NT to _WIN32 since its automatically defined on all appropriate platforms
svn path=/trunk/externals/control/popen/; revision=13674
-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 );