From fc34db7df7a5992eed6d416a86d77789aeb6b143 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Mon, 24 Oct 2011 05:22:37 +0200 Subject: A number of pc related fixes. --- pc/popen.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pc/popen.h') 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__ */ -- cgit v1.2.3