HEX
Server: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2s mod_fcgid/2.3.9
System: FreeBSD salazo 12.0-RELEASE-p1303-ZFS hostBSD 12.0-RELEASE-p1303-ZFS DMR amd64
User: admin (1000)
PHP: 7.4.3
Disabled: NONE
Upload Files
File: /usr/ports/print/ghostscript9-base/files/patch-openjpeg_libopenjpeg_opj__includes.h
--- 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__