some version of flex produce code that wants __STDC_VERSION__

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
1.6.0
Luigi Rizzo 18 years ago
parent 5914462817
commit 813fe77801

@ -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

Loading…
Cancel
Save