add charlie's patch for MSC
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8450 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
52ff75eecd
commit
d35b355f78
1 changed files with 6 additions and 1 deletions
|
|
@ -729,10 +729,15 @@ int Swig_scopename_check(String *s) {
|
|||
* Swig_string_command()
|
||||
*
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
#if defined(HAVE_POPEN)
|
||||
extern FILE *popen(const char *command, const char *type);
|
||||
extern int pclose(FILE *stream);
|
||||
#else
|
||||
# if defined_MSC_VER
|
||||
# define HAVE_POPEN 1
|
||||
# define popen _popen
|
||||
# define pclose _pclose
|
||||
# endif
|
||||
#endif
|
||||
|
||||
String *Swig_string_command(String *s) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue