aboutsummaryrefslogtreecommitdiff
path: root/tools/build/cross-build
diff options
context:
space:
mode:
authorAlex Richardson <arichardson@FreeBSD.org>2020-10-14 12:28:54 +0000
committerAlex Richardson <arichardson@FreeBSD.org>2020-10-14 12:28:54 +0000
commita525283161f88f2044200af7f8aac12c2c6819df (patch)
treebc5cecf2ac709f29c444729f2c8d96a165fdca62 /tools/build/cross-build
parenta31993fece39b32ff45e7ef77c1b6e65ff832e37 (diff)
downloadsrc-a525283161f88f2044200af7f8aac12c2c6819df.tar.gz
src-a525283161f88f2044200af7f8aac12c2c6819df.zip
Fix more -Wundef warnings during bootstrap
Notes
Notes: svn path=/head/; revision=366699
Diffstat (limited to 'tools/build/cross-build')
-rw-r--r--tools/build/cross-build/include/common/sys/cdefs.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/build/cross-build/include/common/sys/cdefs.h b/tools/build/cross-build/include/common/sys/cdefs.h
index 2bd57eef908d..c86369ab778a 100644
--- a/tools/build/cross-build/include/common/sys/cdefs.h
+++ b/tools/build/cross-build/include/common/sys/cdefs.h
@@ -190,11 +190,6 @@ typedef unsigned short u_short;
typedef unsigned int u_int;
typedef unsigned long u_long;
-/* This is needed so that BSNMP doesn't redeclare an incompatible version */
-#define HAVE_STRLCPY 1
-/* The compiler supports __func__ */
-#define HAVE_DECL___FUNC__ 1
-
/* On MacOS __CONCAT is defined as x ## y, which won't expand macros */
#undef __CONCAT
#define __CONCAT1(x, y) x##y