We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee420c0 commit 7efc8efCopy full SHA for 7efc8ef
src/include/regex/cdefs.h
@@ -55,7 +55,7 @@
55
56
/*
57
* @(#)cdefs.h 8.1 (Berkeley) 6/2/93
58
- * $Id: cdefs.h,v 1.1 1996/09/20 05:29:23 scrappy Exp $
+ * $Id: cdefs.h,v 1.2 1996/09/21 06:31:13 scrappy Exp $
59
*/
60
61
#ifndef _CDEFS_H_
@@ -77,7 +77,14 @@
77
* strings produced by the __STRING macro, but this only works with ANSI C.
78
79
#if defined(__STDC__) || defined(__cplusplus)
80
+/*
81
+ * Some headers in the Linux C library define __P the same as here,
82
+ * but with different argument variable name. This causes a compiler
83
+ * warning! So we avoid the redefinition.
84
+ */
85
+#if !defined(__P)
86
#define __P(protos) protos /* full-blown ANSI C */
87
+#endif
88
#define __CONCAT(x,y) x ## y
89
#define __STRING(x) #x
90
0 commit comments