Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
C99: isnan is a standard c99 function stop looking for it
Baptiste Daroussin committed 3 months ago
commit 4f21d4fb8784b7b0f21eefb5c316a1f67ca3426b
parent 2e8e62f
3 files changed +8 -3
modified .gitignore
@@ -69,7 +69,7 @@ scripts/sbin/pkg2ng
/external/libelf/Makefile
/external/sqlite/Makefile
/external/sqlite/config.h
-
/external/sqlite/sqlite_cfg.h
+
/external/sqlite/sqlite_generated.h
/external/libelf/libelf_convert.c
/external/libelf/libelf_fsize.c
/external/libelf/libelf_msize.c
modified auto.def
@@ -173,7 +173,7 @@ cc-with { -includes sys/stat.h } {
}

# check for sqlite
-
cc-check-functions gmtime_r isnan localtime_r strchrnul strerror_r fdatasync \
+
cc-check-functions gmtime_r localtime_r strchrnul strerror_r fdatasync \
	fchown lstat readlink
cc-check-includes stdint.h inttypes.h

@@ -371,7 +371,7 @@ if {[get-define CCACHE] ne {none}} {
}

make-config-header pkg_config.h -bare { DEFAULT_* }
-
make-config-header external/sqlite/sqlite_cfg.h
+
make-config-header external/sqlite/sqlite_generated.h
make-config-header external/libcurl/curl_cfg.h
foreach in [list mk/defs.mk.in libpkg/pkg.h.in libpkg/pkg.pc.in \
	tests/frontend/test_environment.sh.in ] {
added external/sqlite/sqlite_cfg.h
@@ -0,0 +1,5 @@
+
#ifndef _SQLITE_CFG_H
+
#define _SQLITE_CFG_H
+
#define HAVE_ISNAN 1
+
#include "sqlite_generated.h"
+
#endif