Merge branch 'hotfix-3.07.3'
[felt.git] / include / proto.h
blob17646ec61ef590e4d699676291cf2d11dd6f302a
1 /*
2 This file is part of the FElt finite element analysis package.
3 Copyright (C) 1993-2000 Jason I. Gobat and Darren C. Atkinson
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 /************************************************************************
21 * File: proto.h *
22 * *
23 * Description: This file contains useful macros regarding ANSI-style *
24 * function prototypes. *
25 ************************************************************************/
27 # ifndef _PROTO_H
28 # define _PROTO_H
30 # if defined (__STDC__) || defined (__GNUC__)
32 # define PROTO(args) args
33 # define VAR_ARGS_INCLUDE <stdarg.h>
34 # define VA_START(a,b) va_start(a,b)
35 # define UseFunctionPrototypes
37 # else
39 # define PROTO(args) ( )
40 # define VAR_ARGS_INCLUDE <varargs.h>
41 # define VA_START(a,b) va_start(a)
42 # undef UseFunctionPrototypes
44 # endif
46 # endif /* _PROTO_H */