summaryrefslogtreecommitdiff
path: root/devel/mit-pthreads/patches/patch-am
blob: 678ec0cd55d53c761d9b1eb3ce6111134c43483a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-am,v 1.1 1998/08/23 06:22:18 garbled Exp $
--- include/pthread/types.h.orig	Sat Jul 18 06:02:08 1998
+++ include/pthread/types.h	Sat Jul 18 06:02:20 1998
@@ -35,2 +35,12 @@
 
+#if defined(__STDC__) || defined(__GNUC__)
+#ifndef __P_
+#define __P_(protos)     protos
+#endif
+#else
+#ifndef __P_
+#define __P_(protos)
+#endif
+#endif
+
 #endif /* pthread_types_h */