Version 4.0.0.1, tag libreoffice-4.0.0.1
[LibreOffice.git] / dmake / os2 / ibm / config.h
blobcd81994450660bfe04e05f94bebcad58f5489360
1 /* RCS $Id: config.h,v 1.2 2008-03-05 18:38:08 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 #if defined (_MSC_VER)
29 # if _MSC_VER < 500
30 Force a compile-time blowup.
31 Do not define define _MSC_VER for MSC compilers ealier than 5.0.
32 # endif
33 #endif
35 /* define this for configurations that don't have the coreleft function
36 * so that the code compiles. To my knowledge coreleft exists only on
37 * Turbo C, but it is needed here since the function is used in many debug
38 * macros. */
39 #define coreleft() 0L
41 /* MSC Version 4.0 doesn't understand SIGTERM, later versions do. */
42 #ifndef SIGTERM
43 # define SIGTERM SIGINT
44 #endif
46 /* This should already be defined under C6.0, also for OS/2 we want buffering
47 * to minimise the mess during parallel makes.
49 #ifndef _IOLBF
50 # define _IOLBF _IOFBF
51 #endif
53 /* in alloc.h: size_t is redefined
54 * defined in stdio.h which is included by alloc.h
56 #if defined(MSDOS) && defined (_MSC_VER)
57 # define _TYPES_
58 #endif
60 /* Don't need this one either */
61 #define CONST
63 /* in sysintf.c: SIGQUIT is used, this is not defined in MSC */
64 #ifndef SIGQUIT
65 # define SIGQUIT SIGTERM
66 #endif
68 /* a small problem with pointer to voids on some unix machines needs this */
69 #define DMPVOID void *
71 /* C-lib redefinitions... */
72 #define dup _dup
73 #define close _close
74 #define utime _utime
75 #define tzset _tzset
76 #define access _access
77 #define getpid _getpid
78 #define getcwd _getcwd