summaryrefslogtreecommitdiff
path: root/print/ghostscript9-base/files/patch-openjpeg_libopenjpeg_opj__includes.h
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript9-base/files/patch-openjpeg_libopenjpeg_opj__includes.h')
-rw-r--r--print/ghostscript9-base/files/patch-openjpeg_libopenjpeg_opj__includes.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/print/ghostscript9-base/files/patch-openjpeg_libopenjpeg_opj__includes.h b/print/ghostscript9-base/files/patch-openjpeg_libopenjpeg_opj__includes.h
new file mode 100644
index 000000000000..564ec616500c
--- /dev/null
+++ b/print/ghostscript9-base/files/patch-openjpeg_libopenjpeg_opj__includes.h
@@ -0,0 +1,11 @@
+--- openjpeg/libopenjpeg/opj_includes.h.orig 2012-08-08 08:01:36 UTC
++++ openjpeg/libopenjpeg/opj_includes.h
+@@ -77,7 +77,7 @@ Most compilers implement their own versi
+ #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__