about summary refs log tree commit diff
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
parente7da3bfca804412c328fa31c4b1dad75d39f7f71 (diff)
downloadglibc-04fbd6533c3454c78523f8c90608eb6e52c74ff5.tar.gz
glibc-04fbd6533c3454c78523f8c90608eb6e52c74ff5.tar.xz
glibc-04fbd6533c3454c78523f8c90608eb6e52c74ff5.zip
Update.
	* stdlib/longlong.h: Provide __P definition if not already
	defined.
-rw-r--r--ChangeLog3
-rw-r--r--stdlib/longlong.h9
2 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 66a70e8ab9..d982a00885 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 1999-06-21  Ulrich Drepper  <drepper@cygnus.com>
 
+	* stdlib/longlong.h: Provide __P definition if not already
+	defined.
+
 	* include/wchar.h: Use __gnuc_va_list not va_list in prototype.
 
 1999-06-18  Thorsten Kukuk  <kukuk@suse.de>
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