Version 4.0.0.1, tag libreoffice-4.0.0.1
[LibreOffice.git] / dmake / winnt / microsft / config.h
blob32d59716185a2a860e08ade8c36037393a379669
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.
11 -- AUTHOR
12 -- Dennis Vadura, dvadura@dmake.wticorp.com
14 -- WWW
15 -- http://dmake.wticorp.com/
17 -- COPYRIGHT
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.
24 -- LOG
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)
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
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
46 /* MSC Version 4.0 doesn't understand SIGTERM, later versions do. */
47 #ifndef SIGTERM
48 # define SIGTERM SIGINT
49 #endif
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)
55 # undef _IOLBF
56 # define _IOLBF _IONBF
57 #endif
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)
63 # define _TYPES_
64 #endif
66 /* in sysintf.c: SIGQUIT is used, this is not defined in MSC */
67 #ifndef SIGQUIT
68 # define SIGQUIT SIGTERM
69 #endif
71 /* MSC didn't seem to care about CONST in the past */
72 #ifndef CONST
73 # define CONST
74 #endif
76 #ifndef MSDOS
77 # define MSDOS 1
78 #endif
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