2 * This file has been modified for the cdrkit suite.
4 * The behaviour and appearence of the program code below can differ to a major
5 * extent from the version distributed by the original author(s).
7 * For details, see Changelog file distributed with the cdrkit package. If you
8 * received this file from another source then ask the distributing person for
9 * a log of modifications.
13 /* @(#)prototyp.h 1.11 03/08/23 Copyright 1995 J. Schilling */
15 * Definitions for dealing with ANSI / KR C-Compilers
17 * Copyright (c) 1995 J. Schilling
20 * This program is free software; you can redistribute it and/or modify
21 * it under the terms of the GNU General Public License version 2
22 * as published by the Free Software Foundation.
24 * This program is distributed in the hope that it will be useful,
25 * but WITHOUT ANY WARRANTY; without even the implied warranty of
26 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27 * GNU General Public License for more details.
29 * You should have received a copy of the GNU General Public License along with
30 * this program; see the file COPYING. If not, write to the Free Software
31 * Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
35 * mconfig.h includes prototype.h so we must do this include before we test
47 * If this has already been defined,
48 * someone else knows better than us...
51 # if __STDC__ /* ANSI C */
54 # if defined(sun) && __STDC__ - 0 == 0 /* Sun C */
58 #endif /* PROTOTYPES */
60 #if !defined(PROTOTYPES) && (defined(__cplusplus) || defined(_MSC_VER))
62 * C++ always supports prototypes.
63 * Define PROTOTYPES so we are not forced to make
64 * a separtate autoconf run for C++
66 * Microsoft C has prototypes but does not define __STDC__
72 * If we have prototypes, we should have stdlib.h string.h stdarg.h
75 #if !(defined(SABER) && defined(sun))
76 # ifndef HAVE_STDARG_H
77 # define HAVE_STDARG_H
81 # ifndef HAVE_STDLIB_H
82 # define HAVE_STDLIB_H
84 # ifndef HAVE_STRING_H
85 # define HAVE_STRING_H
87 # ifndef HAVE_STDC_HEADERS
88 # define HAVE_STDC_HEADERS
91 # define STDC_HEADERS /* GNU name */
96 #ifdef NO_PROTOTYPES /* Force not to use prototypes */
106 #endif /* _PROTOTYP_H */