mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mingw-cross-env-list] [PATCH] Fix error "expected ', ' or '...' before


From: Stefan Peter
Subject: [Mingw-cross-env-list] [PATCH] Fix error "expected ', ' or '...' before 'FileName'" in src-IL/include/il_internal.h
Date: Thu, 30 Apr 2015 15:22:20 +0200

Signed-off-by: Stefan Peter <address@hidden>
---

Notes:
    This patch was shamlessly lifted from
    
http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/devel/devIL/patches/patch-include_IL_il.h
    where this problem seems to be known (and fixed)
    since 2012.

diff --git a/src/devil-2-il_h.patch b/src/devil-2-il_h.patch
new file mode 100644
index 0000000..6b14552
--- /dev/null
+++ b/src/devil-2-il_h.patch
@@ -0,0 +1,14 @@
+This file is part of MXE.
+See index.html for further information.
+
+--- devil-1.7.8.org/include/IL/il.h    2009-03-08 08:10:08.000000000 +0100
++++ devil-1.7.8/include/IL/il.h        2015-04-30 14:48:41.473762419 +0200
+@@ -63,7 +63,7 @@
+       #endif
+ #endif
+ 
+-#ifdef RESTRICT_KEYWORD
++#if defined(RESTRICT_KEYWORD) && !defined(__cplusplus)
+ #define RESTRICT restrict
+ #define CONST_RESTRICT const restrict
+ #else
-- 
1.9.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]