about summary refs log tree commit diff
path: root/stdlib/longlong.h
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/longlong.h')
-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