projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92278a4
)
[__P]: Define it.
author
Jim Meyering
<jim@meyering.net>
Fri, 10 Nov 1995 12:56:15 +0000
(12:56 +0000)
committer
Jim Meyering
<jim@meyering.net>
Fri, 10 Nov 1995 12:56:15 +0000
(12:56 +0000)
src/system.h
patch
|
blob
|
history
diff --git
a/src/system.h
b/src/system.h
index 23bb92e42e57618ee071345b9c0e174c4b7a44db..3b7f9f27c13fc31b32fcb965d81fb0090ffcd4b2 100644
(file)
--- a/
src/system.h
+++ b/
src/system.h
@@
-311,3
+311,11
@@
char *alloca ();
#define ISSPACE(c) (ISASCII (c) && isspace (c))
#define ISUPPER(c) (ISASCII (c) && isupper (c))
#define ISXDIGIT(c) (ISASCII (c) && isxdigit (c))
+
+#ifndef __P
+#if defined (__GNUC__) || (defined (__STDC__) && __STDC__)
+#define __P(args) args
+#else
+#define __P(args) ()
+#endif /* GCC. */
+#endif /* Not __P. */