1 /* RCS $Id: config.h,v 1.9 2008-03-05 18:41:51 kz Exp $
4 -- Configurarion include file.
7 -- There is one of these for each specific machine configuration.
8 -- It can be used to further tweek the machine specific sources
9 -- so that they compile.
12 -- Dennis Vadura, dvadura@dmake.wticorp.com
15 -- http://dmake.wticorp.com/
18 -- Copyright (c) 1996,1997 by WTI Corp. All rights reserved.
20 -- This program is NOT free software; you can redistribute it and/or
21 -- modify it under the terms of the Software License Agreement Provided
22 -- in the file <distribution-root>/readme/license.txt.
25 -- Use cvs log to obtain detailed change logs.
28 /* Name and version number of this package */
29 #define PACKAGE "dmake"
30 #define VERSION "4.12"
31 #define BUILDINFO "Windows / MS Visual C++"
33 #if defined (_MSC_VER)
35 Force a compile
-time blowup
.
36 Do
not define
"#define _MSC_VER" for MSC compilers earlier than
5.0.
40 /* define this for configurations that don't have the coreleft function
41 * so that the code compiles. To my knowledge coreleft exists only on
42 * Turbo C, but it is needed here since the function is used in many debug
46 /* MSC Version 4.0 doesn't understand SIGTERM, later versions do. */
48 # define SIGTERM SIGINT
51 /* Fixes unimplemented line buffering for MSC 5.x and 6.0.
52 * MSC _IOLBF is the same as _IOFBF
54 #if defined(MSDOS) && defined (_MSC_VER)
56 # define _IOLBF _IONBF
59 /* in alloc.h: size_t is redefined
60 * defined in stdio.h which is included by alloc.h
62 #if defined(MSDOS) && defined (_MSC_VER)
66 /* in sysintf.c: SIGQUIT is used, this is not defined in MSC */
68 # define SIGQUIT SIGTERM
71 /* MSC didn't seem to care about CONST in the past */
80 /* a small problem with pointer to voids on some unix machines needs this */
81 #define DMPVOID void *
83 /* Use my own tempnam */
84 #define tempnam dtempnam