14 lines
355 B
C
14 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
|