1 /* RCS $Id: config.h,v 1.9 2008-03-05 18:41:51 kz Exp $ 2 -- 3 -- SYNOPSIS 4 -- Configurarion include file. 5 -- 6 -- DESCRIPTION 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. 10 -- 11 -- AUTHOR 12 -- Dennis Vadura, dvadura@dmake.wticorp.com 13 -- 14 -- WWW 15 -- http://dmake.wticorp.com/ 16 -- 17 -- COPYRIGHT 18 -- Copyright (c) 1996,1997 by WTI Corp. All rights reserved. 19 -- 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>/COPYING. 23 -- 24 -- LOG 25 -- Use cvs log to obtain detailed change logs. 26 */ 27 28 /* Name and version number of this package */ 29 #define PACKAGE "dmake" 30 #define VERSION "4.13.0" 31 #define BUILDINFO "Windows / MS Visual C++" 32 33 #if defined (_MSC_VER) 34 # if _MSC_VER < 500 35 Force a compile-time blowup. 36 Do not define "#define _MSC_VER" for MSC compilers earlier than 5.0. 37 # endif 38 #endif 39 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 43 * macros. */ 44 #define coreleft() 0L 45 46 /* MSC Version 4.0 doesn't understand SIGTERM, later versions do. */ 47 #ifndef SIGTERM 48 # define SIGTERM SIGINT 49 #endif 50 51 /* Fixes unimplemented line buffering for MSC 5.x and 6.0. 52 * MSC _IOLBF is the same as _IOFBF 53 */ 54 #if defined(MSDOS) && defined (_MSC_VER) 55 # undef _IOLBF 56 # define _IOLBF _IONBF 57 #endif 58 59 /* in alloc.h: size_t is redefined 60 * defined in stdio.h which is included by alloc.h 61 */ 62 #if defined(MSDOS) && defined (_MSC_VER) 63 # define _TYPES_ 64 #endif 65 66 /* in sysintf.c: SIGQUIT is used, this is not defined in MSC */ 67 #ifndef SIGQUIT 68 # define SIGQUIT SIGTERM 69 #endif 70 71 /* MSC didn't seem to care about CONST in the past */ 72 #ifndef CONST 73 # define CONST 74 #endif 75 76 #ifndef MSDOS 77 # define MSDOS 1 78 #endif 79 80 /* a small problem with pointer to voids on some unix machines needs this */ 81 #define DMPVOID void * 82 83 /* Use my own tempnam */ 84 #define tempnam dtempnam 85 86