From 20e80689a507be7c053d1e782f38c5d1adfd7f0d Mon Sep 17 00:00:00 2001 From: slmistry Date: Thu, 10 Sep 2015 00:11:14 +0100 Subject: [PATCH] Resolve warning about __STDC_VERSION__ --- src/lib/openjp2/opj_includes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/openjp2/opj_includes.h b/src/lib/openjp2/opj_includes.h index 175af84c..ec20768e 100644 --- a/src/lib/openjp2/opj_includes.h +++ b/src/lib/openjp2/opj_includes.h @@ -109,7 +109,7 @@ /* 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__