Fixed linking with MSVC, thanks Zephiris
This commit is contained in:
@@ -40,6 +40,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|||||||
#include <direct.h>
|
#include <direct.h>
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
#define ftruncate chsize
|
#define ftruncate chsize
|
||||||
|
#define popen _popen
|
||||||
|
#define pclose _pclose
|
||||||
#else
|
#else
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user