mirror of https://github.com/swig/swig
Fixes for _WIN32
This commit is contained in:
parent
d6ecf084eb
commit
33734ffe38
|
@ -2,7 +2,12 @@
|
|||
%module example
|
||||
|
||||
%{
|
||||
#include <unistd.h>
|
||||
#ifdef _WIN32
|
||||
# include <process.h>
|
||||
# define execlp _execlp
|
||||
#else
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
#include <ffi.h>
|
||||
%}
|
||||
|
||||
|
|
Loading…
Reference in New Issue