Fixed linking with MSVC, thanks Zephiris

This commit is contained in:
n-a-c-h
2006-03-04 22:11:23 +00:00
parent 4645c26bf8
commit 01174afaa0

View File

@@ -40,6 +40,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#include <direct.h>
#include <io.h>
#define ftruncate chsize
#define popen _popen
#define pclose _pclose
#else
#include <unistd.h>
#endif