We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab2563b commit a3dc128Copy full SHA for a3dc128
2 files changed
source/gameanalytics/GAUtilities.h
@@ -74,7 +74,7 @@ namespace gameanalytics
74
75
inline std::string trimString(std::string const& str, std::size_t size)
76
{
77
- return str.substr(0, (std::min)(size, str.size()));
+ return str.substr(0, std::min(size, str.size()));
78
}
79
80
inline json parseFields(std::string const& fields)
source/gameanalytics/Http/GAHttpCurl.h
@@ -1,5 +1,19 @@
1
#pragma once
2
3
+#ifdef _WIN32
4
+
5
+ #ifndef WIN32_LEAN_AND_MEAN
6
+ #define WIN32_LEAN_AND_MEAN
7
+ #endif
8
9
+ #ifndef NOMINMAX
10
+ #define NOMINMAX
11
12
13
+ #include <windows.h>
14
15
+#endif
16
17
#include "GameAnalytics/GAHttpClient.h"
18
#include <curl/curl.h>
19
0 commit comments