mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
b7ef55005e
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
13 lines
355 B
C
13 lines
355 B
C
$NetBSD: patch-include_IL_il.h,v 1.1 2012/07/09 19:16:33 joerg Exp $
|
|
|
|
--- include/IL/il.h.orig 2012-07-06 12:31:13.000000000 +0000
|
|
+++ include/IL/il.h
|
|
@@ -63,7 +63,7 @@ extern "C" {
|
|
#endif
|
|
#endif
|
|
|
|
-#ifdef RESTRICT_KEYWORD
|
|
+#if defined(RESTRICT_KEYWORD) && !defined(__cplusplus)
|
|
#define RESTRICT restrict
|
|
#define CONST_RESTRICT const restrict
|
|
#else
|