Bash 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 1, or (at your option)
+ the Free Software Foundation; either version 2, or (at your option)
any later version.
Bash is distributed in the hope that it will be useful, but WITHOUT
You should have received a copy of the GNU General Public License
along with Bash; see the file COPYING. If not, write to the Free
- Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+ Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. */
#if !defined (_STDC_H_)
#define _STDC_H_
and traditional C compilers with something like this:
extern char *func __P((char *, char *, int)); */
-#if defined (__STDC__)
-
-# if !defined (__P)
+#if !defined (__P)
+# if defined (__STDC__) || defined (__GNUC__) || defined (__cplusplus)
# define __P(protos) protos
+# else
+# define __P(protos) ()
# endif
+#endif
+
+#if defined (__STDC__)
+
# define __STRING(x) #x
# if !defined (__GNUC__)
#else /* !__STDC__ */
-# if !defined (__P)
-# define __P(protos) ()
-# endif
# define __STRING(x) "x"
#if defined (__GNUC__) /* gcc with -traditional */