projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5914462
)
some version of flex produce code that wants __STDC_VERSION__
author
Luigi Rizzo
<rizzo@icir.org>
Sat, 17 Nov 2007 10:26:21 +0000
(10:26 +0000)
committer
Luigi Rizzo
<rizzo@icir.org>
Sat, 17 Nov 2007 10:26:21 +0000
(10:26 +0000)
defined, but the compiler does not always define it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89370
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
include/asterisk/compat.h
patch
|
blob
|
history
diff --git
a/include/asterisk/compat.h
b/include/asterisk/compat.h
index
819ac46
..
5d97f49
100644
(file)
--- a/
include/asterisk/compat.h
+++ b/
include/asterisk/compat.h
@@
-20,6
+20,11
@@
#ifndef _COMPAT_H
#define _COMPAT_H
+#ifndef __STDC_VERSION__
+/* flex output wants to find this defined. */
+#define __STDC_VERSION__ 0
+#endif
+
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#endif