mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-26 19:00:18 -06:00
Check whether header <pow.h> really exists before including it.
The windows build has been failing for several days due to this. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22146 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
9b5f2866b1
commit
374747c4f6
@ -153,7 +153,7 @@ AC_PROG_MAKE_SET
|
|||||||
AC_PROG_LN_S
|
AC_PROG_LN_S
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
|
|
||||||
AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h sys/wait.h)
|
AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h sys/wait.h pow.h)
|
||||||
AC_CHECK_FUNCS(stpcpy memcpy timegm towupper)
|
AC_CHECK_FUNCS(stpcpy memcpy timegm towupper)
|
||||||
AC_CHECK_FUNCS(setenv,,[
|
AC_CHECK_FUNCS(setenv,,[
|
||||||
AC_CHECK_FUNCS(putenv,,[
|
AC_CHECK_FUNCS(putenv,,[
|
||||||
|
@ -27,7 +27,9 @@
|
|||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#if defined(G_OS_WIN32) && !defined(_MSC_VER)
|
#if defined(G_OS_WIN32) && !defined(_MSC_VER)
|
||||||
# include <pow.h>
|
# ifdef HAVE_POW_H
|
||||||
|
# include <pow.h>
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user