Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
compat: stop dynamically checking more standard functions
Baptiste Daroussin committed 3 months ago
commit 2e556efbf219c07d4e6e57da93df2cc8d0fcb499
parent 4f21d4f
2 files changed +10 -2
modified auto.def
@@ -173,8 +173,7 @@ cc-with { -includes sys/stat.h } {
}

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

# check for pkg itself
modified external/sqlite/sqlite_cfg.h
@@ -1,5 +1,14 @@
#ifndef _SQLITE_CFG_H
#define _SQLITE_CFG_H
+
#define HAVE_FCHOWN 1
+
#define HAVE_GMTIME_R 1
#define HAVE_ISNAN 1
+
#define HAVE_LOCALTIME_R 1
+
#define HAVE_LSTAT 1
+
#define HAVE_READLINK 1
+
#define HAVE_STRERROR_R 1
+
#ifndef __APPLE__
+
#define HAVE_FDATASYNC 1
+
#endif
#include "sqlite_generated.h"
#endif