diff options
Diffstat (limited to 'print/ghostscript9-agpl-base/files/patch-openjpeg-src-lib-openjp2-opj_includes.h')
-rw-r--r-- | print/ghostscript9-agpl-base/files/patch-openjpeg-src-lib-openjp2-opj_includes.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/print/ghostscript9-agpl-base/files/patch-openjpeg-src-lib-openjp2-opj_includes.h b/print/ghostscript9-agpl-base/files/patch-openjpeg-src-lib-openjp2-opj_includes.h new file mode 100644 index 000000000000..c76c46f4ad48 --- /dev/null +++ b/print/ghostscript9-agpl-base/files/patch-openjpeg-src-lib-openjp2-opj_includes.h @@ -0,0 +1,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__ |