mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
build: fix FDELT_TYPE configure check
This probably never worked properly. Confirmed working now with every compiler I throw at it.
This commit is contained in:
parent
36065cc529
commit
8021cf8dbc
@ -332,7 +332,10 @@ if test x$use_glibc_compat != xno; then
|
|||||||
#__fdelt_chk's params and return type have changed from long unsigned int to long int.
|
#__fdelt_chk's params and return type have changed from long unsigned int to long int.
|
||||||
# See which one is present here.
|
# See which one is present here.
|
||||||
AC_MSG_CHECKING(__fdelt_chk type)
|
AC_MSG_CHECKING(__fdelt_chk type)
|
||||||
AC_TRY_COMPILE([#define __USE_FORTIFY_LEVEL 2
|
AC_TRY_COMPILE([#ifdef _FORTIFY_SOURCE
|
||||||
|
#undef _FORTIFY_SOURCE
|
||||||
|
#endif
|
||||||
|
#define _FORTIFY_SOURCE 2
|
||||||
#include <sys/select.h>
|
#include <sys/select.h>
|
||||||
extern "C" long unsigned int __fdelt_warn(long unsigned int);],[],
|
extern "C" long unsigned int __fdelt_warn(long unsigned int);],[],
|
||||||
[ fdelt_type="long unsigned int"],
|
[ fdelt_type="long unsigned int"],
|
||||||
|
Loading…
Reference in New Issue
Block a user