[asterisk-commits] rizzo: trunk r89370 - /trunk/include/asterisk/compat.h

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Nov 17 04:26:22 CST 2007


Author: rizzo
Date: Sat Nov 17 04:26:21 2007
New Revision: 89370

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89370
Log:
some version of flex produce code that wants __STDC_VERSION__
defined, but the compiler does not always define it.


Modified:
    trunk/include/asterisk/compat.h

Modified: trunk/include/asterisk/compat.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/compat.h?view=diff&rev=89370&r1=89369&r2=89370
==============================================================================
--- trunk/include/asterisk/compat.h (original)
+++ trunk/include/asterisk/compat.h Sat Nov 17 04:26:21 2007
@@ -19,6 +19,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>




More information about the asterisk-commits mailing list