ERR: Fix build problems on Visual Studio 6
This commit is contained in:
parent
7527fbccc2
commit
900ad59867
@ -118,6 +118,11 @@ extern int putenv (char *__string) __THROW;
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
typedef unsigned short mode_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifdef CM_HAS_STD_BUT_NOT_FOR_IOSTREAM
|
#ifdef CM_HAS_STD_BUT_NOT_FOR_IOSTREAM
|
||||||
// some compilers have std:: but not for the stream library,
|
// some compilers have std:: but not for the stream library,
|
||||||
// so we have to bring it into the std namespace by hand.
|
// so we have to bring it into the std namespace by hand.
|
||||||
|
@ -35,6 +35,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <direct.h>
|
#include <direct.h>
|
||||||
|
#include <io.h>
|
||||||
#define _unlink unlink
|
#define _unlink unlink
|
||||||
#else
|
#else
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user