Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
8c79e4af
Commit
8c79e4af
authored
Mar 29, 2010
by
Michael Beck
Browse files
remove _GNU_SOURCE define again and add AC_FUNC_STRTOLD autoconf macro
[r27325]
parent
9106408d
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
8c79e4af
...
...
@@ -143,17 +143,7 @@ AC_C_LONG_DOUBLE
dnl Checks for library functions.
dnl =============================
dnl check for strerror
AC_CHECK_FUNC(strerror,,
AC_MSG_ERROR("need strerror function")
)
dnl we use the gnu extension obstack_printf
AC_DEFINE([_GNU_SOURCE], [], [we use gnu extensions])
AC_CHECK_FUNC(strerror,,
AC_MSG_ERROR("need obstack_printf function")
)
AC_FUNC_STRTOLD
dnl Error messaging
dnl ===============
...
...
ir/tv/fltcalc.c
View file @
8c79e4af
...
...
@@ -44,8 +44,7 @@
#include "xmalloc.h"
#if !defined(HAVE_LONG_DOUBLE) || defined(__CYGWIN__)
/* No strtold on windows and no replacement yet */
#ifndef HAVE_STRTOLD
#define strtold(s, e) strtod(s, e)
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment