aboutsummaryrefslogtreecommitdiffstats
path: root/pc/popen.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2011-10-24 05:22:37 +0200
committerArnold D. Robbins <arnold@skeeve.com>2011-10-24 05:22:37 +0200
commitfc34db7df7a5992eed6d416a86d77789aeb6b143 (patch)
tree7896b1b7717fee91c9fc51a823f7fad7c46859d8 /pc/popen.h
parent93726e541fa0c9ece75d4b62bbfc0dd50dc6d0d6 (diff)
downloadegawk-fc34db7df7a5992eed6d416a86d77789aeb6b143.tar.gz
egawk-fc34db7df7a5992eed6d416a86d77789aeb6b143.tar.bz2
egawk-fc34db7df7a5992eed6d416a86d77789aeb6b143.zip
A number of pc related fixes.
Diffstat (limited to 'pc/popen.h')
-rw-r--r--pc/popen.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/pc/popen.h b/pc/popen.h
index 99f00169..9a04299c 100644
--- a/pc/popen.h
+++ b/pc/popen.h
@@ -10,4 +10,8 @@
# define pclose(f) os_pclose(f)
extern FILE *os_popen( const char *, const char * );
extern int os_pclose( FILE * );
+# ifdef __MINGW32__
+# define system(c) os_system(c)
+ extern int os_system( const char * );
+# endif /* __MINGW32__ */
#endif /* !__DJGPP__ */