home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
unix
/
volume26
/
cook-1.4
/
part01
/
common
/
main.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-05-03
|
1KB
|
43 lines
/*
* cook - file construction tool
* Copyright (C) 1991, 1992, 1993 Peter Miller.
* 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 as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty 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.
*
* MANIFEST: common defined, including DEBUG define
*/
#ifndef MAIN_H
#define MAIN_H
#ifdef __STDC__
# define _(x) x
#else
# define _(x) ()
# define const
#endif
#define SIZEOF(a) (sizeof(a) / sizeof(a[0]))
#define ENDOF(a) ((a) + SIZEOF(a))
/*
* take the following out of comments to enable debugging
*
#define DEBUG
*/
#endif /* MAIN_H */