summaryrefslogtreecommitdiff
path: root/net/irrtoolset-nox11/patches/patch-aa
blob: d99e7aed9a06f893bdff3c55e899b10414fd2826 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-aa,v 1.1.1.1 2005/02/28 12:37:29 spz Exp $

--- src/config.h.in.orig    2002-04-09 13:48:44.000000000 +0200
+++ src/config.h.in
@@ -224,4 +224,11 @@
 #include <typeinfo>
 #endif /* __cplusplus */
 
+#ifndef __P
+# if defined __cplusplus || defined __STDC__
+#  define __P(args) args
+# else
+#  define __P(args) ()
+# endif
+#endif
 #endif   /* CONFIG_H */