Fix a compilation error with MSVC 2005 due to use of mode_t

MSVC apparently doesn't have a mode_t defined, though mingw does.

Found by Savg He.
This commit is contained in:
Nick Mathewson 2012-03-30 10:26:50 -04:00
parent 98e9119fab
commit 336dcaeaef

View File

@ -85,6 +85,7 @@
#define close _close
#define fstat _fstati64
#define stat _stati64
#define mode_t int
#endif
int