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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user