1 parent c5ee347 commit 1166c17Copy full SHA for 1166c17
1 file changed
dap/StringUtils.cpp
@@ -4,9 +4,15 @@
4
#include <cstring>
5
#include <locale>
6
#include <sstream>
7
+#include <string.h>
8
#include <wx/arrstr.h>
9
#include <wx/tokenzr.h>
10
11
+#if defined(_MSC_VER)
12
+/* We are on Windows using MSVC */
13
+#define strtok_r strtok_s
14
+#endif
15
+
16
wxString& DapStringUtils::Rtrim(wxString& str) { return str.Trim(); }
17
18
std::string& DapStringUtils::Rtrim(std::string& str)
0 commit comments