Since the define is no longer used, remove configuration-time checks if
it exists, and also code dealing with situations where it doesn't.
Change-Id: I50f189048ef1a624e6ac84b71d7b22fcbbc3ab6b
Signed-off-by: Heiko Hund <heiko@ist.eigentlich.net>
Acked-by: Lev Stipakov <lstipakov@gmail.com>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1354
Message-Id: <
20251112092216.22703-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg34335.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
fi
fi
-if test "${WIN32}" == "yes"; then
- AC_CHECK_DECLS(
- [PATHCCH_ENSURE_TRAILING_SLASH],
- [AC_DEFINE([HAVE_PATHCCH_ENSURE_TRAILING_SLASH], [1], [PATHCCH_ENSURE_TRAILING_SLASH is defined])],
- ,
- [[
- #include <pathcch.h>
- ]]
- )
-fi
-
# When testing a compiler option, we add -Werror to force
# an error when the option is unsupported. This is not
# required for gcc, but some compilers such as clang need it.
include(CheckSymbolExists)
-# Some old versions of mingw does not have PATHCCH_OPTIONS enums -- add a check
-check_symbol_exists(PATHCCH_ENSURE_TRAILING_SLASH pathcch.h HAVE_PATHCCH_ENSURE_TRAILING_SLASH)
-
set(MC_GEN_DIR ${CMAKE_CURRENT_BINARY_DIR}/mc)
target_include_directories(openvpnserv PRIVATE
#include <pathcch.h>
#include <lm.h>
-#ifndef HAVE_PATHCCH_ENSURE_TRAILING_SLASH
-#define PATHCCH_ENSURE_TRAILING_SLASH 0x20
-#endif
-
static const WCHAR *white_list[] = {
L"auth-retry",
L"config",