We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 731eab8 commit 0c1b8d1Copy full SHA for 0c1b8d1
messaging/integration_test/src/integration_test.cc
@@ -13,7 +13,6 @@
13
// limitations under the License.
14
15
#include <inttypes.h>
16
-#include <strings.h>
17
18
#include <algorithm>
19
#include <cstdio>
@@ -27,6 +26,14 @@
27
26
#include "firebase/util.h"
28
#include "firebase_test_framework.h" // NOLINT
29
+#ifdef _MSC_VER
30
+// Windows uses _stricmp instead of strcasecmp.
31
+#define strncasecmp _strnicmp
32
+#define strcasecmp _stricmp
33
+#else
34
+#include <strings.h>
35
+#endif // _MSC_VER
36
+
37
// The TO_STRING macro is useful for command line defined strings as the quotes
38
// get stripped.
39
#define TO_STRING_EXPAND(X) #X
0 commit comments