1
0
Fork 0

added a define for ftruncate so it works under win32

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@117
This commit is contained in:
Peter Veenstra 2002-08-07 10:25:30 +00:00
parent 6931e8fa41
commit 9e48fbd6b5

View file

@ -46,7 +46,9 @@
#define CROSS_NONE 0
#define CROSS_FILE 1
#define CROSS_DIR 2
#if defined (_MSC_VER)
#define ftruncate(blah,blah2) chsize(blah,blah2)
#endif
extern const char * dosbox_datadir;