diff options
author | Alex Richardson <arichardson@FreeBSD.org> | 2021-03-01 14:11:20 +0000 |
---|---|---|
committer | Alex Richardson <arichardson@FreeBSD.org> | 2021-03-01 14:22:47 +0000 |
commit | 10f2a0c2e8766e9878ad4181f555d8dda84da34e (patch) | |
tree | 490ea79951bf1431e5116aa9b979bf9e6877c758 /tools/build/cross-build/include/common | |
parent | f5542795b99206a2b4e5a57429d18b9478264e24 (diff) | |
download | src-10f2a0c2e8766e9878ad4181f555d8dda84da34e.tar.gz src-10f2a0c2e8766e9878ad4181f555d8dda84da34e.zip |
Silence a macro-redefined warning when crossbuilding
This is already defined by the ncurses headers, so just undef it before
defining it again.
Diffstat (limited to 'tools/build/cross-build/include/common')
-rw-r--r-- | tools/build/cross-build/include/common/string.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/build/cross-build/include/common/string.h b/tools/build/cross-build/include/common/string.h index dd039d54583e..8a33f4d4ff19 100644 --- a/tools/build/cross-build/include/common/string.h +++ b/tools/build/cross-build/include/common/string.h @@ -38,7 +38,9 @@ #pragma once /* Avoid incompatible opensolaris redeclarations (without _FORTIFY_SOURCE). */ +#undef HAVE_STRLCAT #define HAVE_STRLCAT 1 +#undef HAVE_STRLCPY #define HAVE_STRLCPY 1 #include_next <string.h> |