Skip to content

Commit 255d27d

Browse files
committed
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
1 parent ee342a3 commit 255d27d

File tree

1 file changed

+35
-2
lines changed

1 file changed

+35
-2
lines changed

winnt/microsft/config.h

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,19 @@
2525
-- Use cvs log to obtain detailed change logs.
2626
*/
2727

28+
/* Attention! In the UNIX like builds with the ./configure ; make
29+
procedure a config.h is generated. The autogenerated config.h
30+
must not be there to compile dmake with MSC and the
31+
"dmake\make.bat win95-vpp40" command. This file sets (among other
32+
things) the needed HAS_... and HAVE_... macros.
33+
34+
Don't forget to update the PACKAGE and VERSION macros!
35+
*/
36+
2837
/* Name and version number of this package */
2938
#define PACKAGE "dmake"
30-
#define VERSION "4.12"
31-
#define BUILDINFO "Windows / MS Visual C++" dmstr2(_MSC_FULL_VER)
39+
#define VERSION "4.13"
40+
#define BUILDINFO "Windows / MS Visual C++ " dmstr2(_MSC_FULL_VER)
3241

3342
#if defined (_MSC_VER)
3443
# if _MSC_VER < 500
@@ -73,6 +82,30 @@
7382
# define CONST
7483
#endif
7584

85+
/* Assume case insensitive file system. */
86+
#define CASE_INSENSITIVE_FS 1
87+
88+
/* MSC has sys/types.h and sys/stat.h (this is tested only with MSVC++ 6.0) */
89+
#define HAVE_SYS_TYPES_H 1
90+
#define HAVE_SYS_STAT_H 1
91+
92+
/* These functions are available! (this is tested only with MSVC++ 6.0) */
93+
#define HAVE_GETCWD 1
94+
#define HAVE_UTIME_NULL 1
95+
#define HAVE_TZSET 1
96+
#define HAVE_STRLWR 1
97+
98+
#define HAVE_ERRNO_H 1
99+
#define HAVE_STRERROR 1
100+
#define HAVE_TEMPNAM 1
101+
#define HAVE_FCNTL_H 1
102+
#define HAVE_SETVBUF 1
103+
104+
/* These defines are needed for itypes.h! (this is tested only with MSVC++ 6.0) */
105+
#define SIZEOF_INT 4
106+
#define SIZEOF_LONG 4
107+
#define SIZEOF_SHORT 2
108+
76109
#ifndef MSDOS
77110
# define MSDOS 1
78111
#endif

0 commit comments

Comments
 (0)