From 77e575dd65faca827b577f5f4aaa58312c5ffe4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Tue, 7 Jan 2025 17:54:52 +0100 Subject: [PATCH] Buildfix --- Common/StringUtils.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Common/StringUtils.h b/Common/StringUtils.h index dd19c6e6a9..1bd4aa0091 100644 --- a/Common/StringUtils.h +++ b/Common/StringUtils.h @@ -71,6 +71,11 @@ inline bool equalsNoCase(std::string_view str, std::string_view key) { bool containsNoCase(std::string_view haystack, std::string_view needle); +// Sigh +#ifdef None +#undef None +#endif + enum class StringRestriction { None, AlphaNumDashUnderscore, // Used for infrastructure usernames