config/
[deliverable/binutils-gdb.git] / readline / rlstdc.h
index dac8e986e10a81b0893f39a1ce8186291be3d5f2..847fa9c26f4cec0b857391d702035885ae6b0dcb 100644 (file)
 
 /* A function can be defined using prototypes and compile on both ANSI C
    and traditional C compilers with something like this:
-       extern char *func __P((char *, char *, int)); */
+       extern char *func PARAMS((char *, char *, int)); */
 
-#if !defined (__P)
+#if !defined (PARAMS)
 #  if defined (__STDC__) || defined (__GNUC__) || defined (__cplusplus)
-#    define __P(protos) protos
+#    define PARAMS(protos) protos
 #  else
-#    define __P(protos) ()
+#    define PARAMS(protos) ()
+#  endif
+#endif
+
+#ifndef __attribute__
+#  if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8)
+#    define __attribute__(x)
 #  endif
 #endif
 
This page took 0.026114 seconds and 4 git commands to generate.