From 255d27de8b480fe4a14ba08b180506273199aa86 Mon Sep 17 00:00:00 2001 From: bulk88 Date: Tue, 17 Mar 2015 15:56:35 -0400 Subject: [PATCH] update winnt/microsft/config.h to be more like win95/microsft/config.h the winnt bat file builds are generally broken, but sychronize them to avoid more rotting --- winnt/microsft/config.h | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/winnt/microsft/config.h b/winnt/microsft/config.h index 0b8ec0e..8ae09e6 100644 --- a/winnt/microsft/config.h +++ b/winnt/microsft/config.h @@ -25,10 +25,19 @@ -- Use cvs log to obtain detailed change logs. */ +/* Attention! In the UNIX like builds with the ./configure ; make + procedure a config.h is generated. The autogenerated config.h + must not be there to compile dmake with MSC and the + "dmake\make.bat win95-vpp40" command. This file sets (among other + things) the needed HAS_... and HAVE_... macros. + + Don't forget to update the PACKAGE and VERSION macros! +*/ + /* Name and version number of this package */ #define PACKAGE "dmake" -#define VERSION "4.12" -#define BUILDINFO "Windows / MS Visual C++" dmstr2(_MSC_FULL_VER) +#define VERSION "4.13" +#define BUILDINFO "Windows / MS Visual C++ " dmstr2(_MSC_FULL_VER) #if defined (_MSC_VER) # if _MSC_VER < 500 @@ -73,6 +82,30 @@ # define CONST #endif +/* Assume case insensitive file system. */ +#define CASE_INSENSITIVE_FS 1 + +/* MSC has sys/types.h and sys/stat.h (this is tested only with MSVC++ 6.0) */ +#define HAVE_SYS_TYPES_H 1 +#define HAVE_SYS_STAT_H 1 + +/* These functions are available! (this is tested only with MSVC++ 6.0) */ +#define HAVE_GETCWD 1 +#define HAVE_UTIME_NULL 1 +#define HAVE_TZSET 1 +#define HAVE_STRLWR 1 + +#define HAVE_ERRNO_H 1 +#define HAVE_STRERROR 1 +#define HAVE_TEMPNAM 1 +#define HAVE_FCNTL_H 1 +#define HAVE_SETVBUF 1 + +/* These defines are needed for itypes.h! (this is tested only with MSVC++ 6.0) */ +#define SIZEOF_INT 4 +#define SIZEOF_LONG 4 +#define SIZEOF_SHORT 2 + #ifndef MSDOS # define MSDOS 1 #endif