restrict is not a keyword to C++, so don't use it when compiling as C++
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4615 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
89fc6d5edd
commit
c6a0ad011e
|
@ -377,7 +377,7 @@
|
||||||
/*!
|
/*!
|
||||||
* \def WZ_DECL_RESTRICT
|
* \def WZ_DECL_RESTRICT
|
||||||
*/
|
*/
|
||||||
#if WZ_CC_GNU_PREREQ(4,1) && !defined(WZ_CC_INTEL)
|
#if WZ_CC_GNU_PREREQ(4,1) && !defined(WZ_CC_INTEL) && !defined(__cplusplus)
|
||||||
# define WZ_DECL_RESTRICT restrict
|
# define WZ_DECL_RESTRICT restrict
|
||||||
#else
|
#else
|
||||||
# define WZ_DECL_RESTRICT
|
# define WZ_DECL_RESTRICT
|
||||||
|
|
Loading…
Reference in New Issue