home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
DMAKE38C.ZIP
/
OS2
/
IBM
/
CONFIG.H
next >
Wrap
C/C++ Source or Header
|
1992-01-23
|
3KB
|
79 lines
/* RCS -- $Header: /u2/dvadura/src/generic/dmake/src/os2/ibm/config.h,v 1.1 1992/01/24 03:29:29 dvadura Exp $
-- SYNOPSIS -- Configurarion include file.
--
-- DESCRIPTION
-- There is one of these for each specific machine configuration.
-- It can be used to further tweek the machine specific sources
-- so that they compile.
--
-- AUTHOR
-- Dennis Vadura, dvadura@watdragon.uwaterloo.ca
-- CS DEPT, University of Waterloo, Waterloo, Ont., Canada
--
-- COPYRIGHT
-- Copyright (c) 1990 by Dennis Vadura. All rights reserved.
--
-- This program is free software; you can redistribute it and/or
-- modify it under the terms of the GNU General Public License
-- (version 1), as published by the Free Software Foundation, and
-- found in the file 'LICENSE' included with this distribution.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warrant of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
--
-- LOG
-- $Log: config.h,v $
* Revision 1.1 1992/01/24 03:29:29 dvadura
* dmake Version 3.8, Initial revision
*
*/
#if defined (_MSC_VER)
# if _MSC_VER < 500
Force a compile-time blowup.
Do not define define _MSC_VER for MSC compilers ealier than 5.0.
# endif
#endif
/* define this for configurations that don't have the coreleft function
* so that the code compiles. To my knowledge coreleft exists only on
* Turbo C, but it is needed here since the function is used in many debug
* macros. */
#define coreleft() 0L
/* MSC Version 4.0 doesn't understand SIGTERM, later versions do. */
#ifndef SIGTERM
# define SIGTERM SIGINT
#endif
/* This should already be defined under C6.0, also for OS/2 we want buffering
* to minimise the mess during parallel makes.
*/
#ifndef _IOLBF
# define _IOLBF _IOFBF
#endif
/* in alloc.h: size_t is redefined
* defined in stdio.h which is included by alloc.h
*/
#if defined(MSDOS) && defined (_MSC_VER)
# define _TYPES_
#endif
/* Don't need this one either */
#define CONST
/* in sysintf.c: SIGQUIT is used, this is not defined in MSC */
#ifndef SIGQUIT
# define SIGQUIT SIGTERM
#endif
/* a small problem with pointer to voids on some unix machines needs this */
#define PVOID void *