Silence a macro-redefined warning when crossbuilding
This is already defined by the ncurses headers, so just undef it before defining it again.
This commit is contained in:
parent
f5542795b9
commit
10f2a0c2e8
@ -38,7 +38,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
/* Avoid incompatible opensolaris redeclarations (without _FORTIFY_SOURCE). */
|
/* Avoid incompatible opensolaris redeclarations (without _FORTIFY_SOURCE). */
|
||||||
|
#undef HAVE_STRLCAT
|
||||||
#define HAVE_STRLCAT 1
|
#define HAVE_STRLCAT 1
|
||||||
|
#undef HAVE_STRLCPY
|
||||||
#define HAVE_STRLCPY 1
|
#define HAVE_STRLCPY 1
|
||||||
|
|
||||||
#include_next <string.h>
|
#include_next <string.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user