diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-17 10:26:21 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-17 10:26:21 +0000 |
commit | 344808cb75859933f21b2b277a02fdcb01d146fb (patch) | |
tree | f3c159c92f69721415cfcc3f52948722790e669e /include | |
parent | ed06295d0c12919d10f653e42d6f3dc44f82c870 (diff) |
some version of flex produce code that wants __STDC_VERSION__
defined, but the compiler does not always define it.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89370 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/compat.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h index 819ac4675..5d97f4915 100644 --- 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 |