summaryrefslogtreecommitdiff
path: root/print/ghostscript9-agpl-base/files/patch-openjpeg-src-lib-openjp2-opj_includes.h
blob: c76c46f4ad48025ec946e98efe46b056b2673cc0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- openjpeg/src/lib/openjp2/opj_includes.h.orig	2012-02-13 08:48:33.000000000 +0900
+++ openjpeg/src/lib/openjp2/opj_includes.h	2012-02-13 08:50:41.000000000 +0900
@@ -77,7 +77,7 @@
 #endif /* INLINE */
 
 /* Are restricted pointers available? (C99) */
-#if (__STDC_VERSION__ != 199901L)
+#if defined(__STDC_VERSION__) && (__STDC_VERSION__ != 199901L)
 	/* Not a C99 compiler */
 	#ifdef __GNUC__
 		#define restrict __restrict__