1 /* @(#)prototyp.h 1.7 98/10/08 Copyright 1995 J. Schilling */
3 * Definitions for dealing with ANSI / KR C-Compilers
5 * Copyright (c) 1995 J. Schilling
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2, or (at your option)
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; see the file COPYING. If not, write to
20 * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
28 * If this has already been defined,
29 * someone else knows better than us...
32 # if __STDC__ /* ANSI C */
35 # if defined(sun) && __STDC__ - 0 == 0 /* Sun C */
39 #endif /* PROTOTYPES */
42 * If we have prototypes, we should have stdlib.h string.h stdarg.h
45 #if !(defined(SABER) && defined(sun))
46 # ifndef HAVE_STDARG_H
47 # define HAVE_STDARG_H
50 # ifndef HAVE_STDLIB_H
51 # define HAVE_STDLIB_H
53 # ifndef HAVE_STRING_H
54 # define HAVE_STRING_H
56 # ifndef HAVE_STDC_HEADERS
57 # define HAVE_STDC_HEADERS
60 # define STDC_HEADERS /* GNU name */
64 #ifdef NO_PROTOTYPES /* Force not to use prototypes */
74 #endif /* _PROTOTYP_H */