projects
/
platform
/
upstream
/
orc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8f6190
)
Fix warnings with Cerbero's mingw (gcc 4.7)
author
Nirbheek Chauhan
<nirbheek@centricular.com>
Tue, 5 Feb 2019 13:29:11 +0000
(18:59 +0530)
committer
Nirbheek Chauhan
<nirbheek@centricular.com>
Tue, 5 Feb 2019 13:29:11 +0000
(18:59 +0530)
orcutils.h:59:38: error: "__STDC_VERSION__" is not defined [-Werror=undef]
orc/orcutils.h
patch
|
blob
|
history
diff --git
a/orc/orcutils.h
b/orc/orcutils.h
index
dd73ea5
..
dc13cd0
100644
(file)
--- 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 <stdint.h>
typedef int8_t orc_int8;
typedef int16_t orc_int16;