ERR: Fix build problems on Visual Studio 6

This commit is contained in:
Andy Cedilnik 2004-01-26 15:03:09 -05:00
parent 7527fbccc2
commit 900ad59867
2 changed files with 6 additions and 0 deletions

View File

@ -118,6 +118,11 @@ extern int putenv (char *__string) __THROW;
# endif
#endif
#ifdef _MSC_VER
typedef unsigned short mode_t;
#endif
#ifdef CM_HAS_STD_BUT_NOT_FOR_IOSTREAM
// some compilers have std:: but not for the stream library,
// so we have to bring it into the std namespace by hand.

View File

@ -35,6 +35,7 @@
#include <string.h>
#include <windows.h>
#include <direct.h>
#include <io.h>
#define _unlink unlink
#else
#include <sys/types.h>