about summary refs log tree commit diff
path: root/stdlib
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-06-21 14:58:43 +0000
committerUlrich Drepper <drepper@redhat.com>1999-06-21 14:58:43 +0000
commit04fbd6533c3454c78523f8c90608eb6e52c74ff5 (patch)
treefa6fd9e256a9cbc387105e906bbda2d1f4ec38c1 /stdlib
parente7da3bfca804412c328fa31c4b1dad75d39f7f71 (diff)
downloadglibc-04fbd6533c3454c78523f8c90608eb6e52c74ff5.tar.gz
glibc-04fbd6533c3454c78523f8c90608eb6e52c74ff5.tar.xz
glibc-04fbd6533c3454c78523f8c90608eb6e52c74ff5.zip
Update.
	* stdlib/longlong.h: Provide __P definition if not already
	defined.
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/longlong.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/stdlib/longlong.h b/stdlib/longlong.h
index 37ea646b34..397188eb4d 100644
--- a/stdlib/longlong.h
+++ b/stdlib/longlong.h
@@ -42,6 +42,15 @@
 #define __MPN(x) __##x
 #endif
 
+#ifndef __P
+# if defined __GNUC__ || (defined (__STDC__) && __STDC__) \
+     || defined (__cplusplus)
+#  define __P(args)	args
+# else
+#  define __P(args)	()
+# endif
+#endif
+
 /* Define auxiliary asm macros.
 
    1) umul_ppmm(high_prod, low_prod, multipler, multiplicand) multiplies two