summaryrefslogtreecommitdiff
path: root/chat/silc-client/patches/patch-ab
blob: e87d2ae60d1ae14192c06dd2d84b4eae408dc979 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ab,v 1.1.1.1 2001/11/29 16:17:43 hubertf Exp $

--- lib/silcmath/mpi/mpi-priv.h.orig    Sat Nov 24 20:06:50 2001
+++ lib/silcmath/mpi/mpi-priv.h Sat Nov 24 20:07:51 2001
@@ -242,3 +242,10 @@
 /* }}} */
 #endif
 
+#if ! (2 < __GNUC__ || (2 == __GNUC__ && 95 <= __GNUC_MINOR__))
+# if defined restrict || 199901L <= __STDC_VERSION__           
+#  define __restrict restrict                       
+# else
+#  define __restrict      
+# endif
+#endif