mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-16 09:46:22 +00:00
Terry found this problem with running the expr2 parser on OSX. Make the #defines come out the same between the parser & lexer.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@98953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -16,9 +16,19 @@
|
||||
#include <stdio.h>
|
||||
#include "asterisk.h"
|
||||
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
||||
#ifdef STANDALONE
|
||||
#ifndef __USE_ISOC99
|
||||
#define __USE_ISOC99 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __USE_ISOC99
|
||||
#define FP___PRINTF "%.18Lg"
|
||||
#define FP___TYPE long double
|
||||
#else
|
||||
#define FP___PRINTF "%.16g"
|
||||
#define FP___TYPE double
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_COSL
|
||||
#define FUNC_COS cosl
|
||||
|
Reference in New Issue
Block a user