From 1db2dffa57a68c1d223e40972ceaf8eda37fbb11 Mon Sep 17 00:00:00 2001 From: KimLS Date: Thu, 14 Jul 2022 18:56:00 -0700 Subject: [PATCH] Fix windows build for strings.cpp --- common/strings.cpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/common/strings.cpp b/common/strings.cpp index 04588f225..3561e8a9c 100644 --- a/common/strings.cpp +++ b/common/strings.cpp @@ -19,29 +19,13 @@ #include #include -#ifdef _WINDOWS -#include - -#define snprintf _snprintf -#define strncasecmp _strnicmp -#define strcasecmp _stricmp - -#else - #include #include #include -#endif - -#ifndef va_copy -#define va_copy(d,s) ((d) = (s)) -#endif - //Const char based #include "strings_legacy.cpp" // legacy c functions #include "strings_misc.cpp" // anything non "Strings" scoped -#include "say_link.h" std::vector Strings::Split(const std::string &str, const char delim) {