mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
ERR: Fix build problems on Visual Studio 6
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
#include <string.h>
|
||||
#include <windows.h>
|
||||
#include <direct.h>
|
||||
#include <io.h>
|
||||
#define _unlink unlink
|
||||
#else
|
||||
#include <sys/types.h>
|
||||
|
||||
Reference in New Issue
Block a user