summaryrefslogtreecommitdiff
path: root/chat/silc-server/patches/patch-ac
blob: 29a2aba6e981bb8716ea3d4cbeacb4308bd7e1dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ac,v 1.1.1.1 2001/11/30 23:33:34 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