From 0c52fe840dfcd0f3aa921f38c25fc24bb3b0e07b Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Tue, 5 Feb 2019 18:59:11 +0530 Subject: [PATCH] Fix warnings with Cerbero's mingw (gcc 4.7) orcutils.h:59:38: error: "__STDC_VERSION__" is not defined [-Werror=undef] --- orc/orcutils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orc/orcutils.h b/orc/orcutils.h index dd73ea5..dc13cd0 100644 --- a/orc/orcutils.h +++ b/orc/orcutils.h @@ -56,7 +56,7 @@ typedef enum { #ifndef _ORC_INTEGER_TYPEDEFS_ #define _ORC_INTEGER_TYPEDEFS_ -#if defined(__STDC__) && __STDC__ && __STDC_VERSION__ >= 199901L +#if defined(__STDC__) && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L #include typedef int8_t orc_int8; typedef int16_t orc_int16; -- 2.7.4