From b9263f056ab3acd666d25af84d399410560d48ac Mon Sep 17 00:00:00 2001 From: dmiller Date: Tue, 30 May 2023 18:33:07 +0000 Subject: [PATCH] Use correct HAVE_ macros for Lua 5.4. Fixes #2648 --- ncat/config.h.in | 4 ++-- nmap_config.h.in | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ncat/config.h.in b/ncat/config.h.in index 6af09e4ce..98ec6bebb 100644 --- a/ncat/config.h.in +++ b/ncat/config.h.in @@ -191,7 +191,7 @@ /* Defines for locating Lua */ #undef LUA_INCLUDED -#undef HAVE_LUA5_3_LUA_H -#undef HAVE_LUA_5_3_LUA_H +#undef HAVE_LUA5_4_LUA_H +#undef HAVE_LUA_5_4_LUA_H #undef HAVE_LUA_H #undef HAVE_LUA_LUA_H diff --git a/nmap_config.h.in b/nmap_config.h.in index 497b6eeea..79ec4e762 100644 --- a/nmap_config.h.in +++ b/nmap_config.h.in @@ -172,8 +172,8 @@ extern "C" int gethostname (char *, unsigned int); #undef HAVE_PCAP_SET_IMMEDIATE_MODE /* Various possibilities for lua.h */ -#undef HAVE_LUA5_3_LUA_H -#undef HAVE_LUA_5_3_LUA_H +#undef HAVE_LUA5_4_LUA_H +#undef HAVE_LUA_5_4_LUA_H #undef HAVE_LUA_H #undef HAVE_LUA_LUA_H