$(Q)echo "#define libfirm_VERSION_MAJOR 1" >> $@
$(Q)echo "#define libfirm_VERSION_MICRO 0" >> $@
$(Q)echo "#define libfirm_VERSION_MINOR 20" >> $@
- $(Q)echo "#define HAVE_LONG_DOUBLE 1" >> $@
# libFirm
libfirm_DIRS := \
#include "xmalloc.h"
-#ifndef HAVE_STRTOLD
-#define strtold(s, e) strtod(s, e)
-#endif
-
#ifdef _MSC_VER
#include <float.h>
#define isnan(x) _isnan(x)
{
return !_finite(x) && !_isnan(x);
}
+#define strtold(s, e) strtod(s, e)
+#else
+#define HAVE_LONG_DOUBLE
#endif
/** The number of extra precision rounding bits */
/* Define to disable assertion checking. */
/* #undef NDEBUG */
-/* Define to 1 if long double works and has more range or precision than
- double. */
-/* #undef HAVE_LONG_DOUBLE */
-
/* Define to 1 if your processor stores words with the most significant byte
first (like Motorola and SPARC, unlike Intel and VAX). */
/* #undef WORDS_BIGENDIAN */