home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
dmake40.zip
/
unix
/
sysvr4
/
config.h
next >
Wrap
C/C++ Source or Header
|
1994-10-23
|
2KB
|
58 lines
/* RCS -- $Header: /u5/dvadura/src/public/dmake/src/unix/sysvr4/RCS/config.h,v 1.1 1994/10/06 17:42:24 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) 1992,1994 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 1994/10/06 17:42:24 dvadura
* dmake Release Version 4.0, Initial revision
*
*/
#define _TYPES_
/* 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
/* Define the getcwd function that is used in the code, since BSD does
* not have getcwd, but call it getwd instead. */
#if !defined(_SVR4_SOURCE) || defined(_POSIX_SOURCE) || defined(_XOPEN_SOURCE)
extern char *getcwd ANSI((char *, int));
#endif
/* Define setvbuf, SysV doesn't have one */
#define setvbuf(fp, bp, type, len) setbuf( fp, NULL );
/* We don't care about CONST */
#define CONST
/* a small problem with pointer to voids on some unix machines needs this */
#define PVOID void *