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 fef7530 commit 235bcf5Copy full SHA for 235bcf5
pystring.cpp
@@ -42,6 +42,12 @@
42
namespace pystring
43
{
44
45
+#if defined(_WIN32) || defined(_WIN64) || defined(_WINDOWS) || defined(_MSC_VER)
46
+#ifndef WINDOWS
47
+#define WINDOWS
48
+#endif
49
50
+
51
// This definition codes from configure.in in the python src.
52
// Strictly speaking this limits us to str sizes of 2**31.
53
// Should we wish to handle this limit, we could use an architecture
pystring.h
@@ -37,12 +37,6 @@
37
#include <string>
38
#include <vector>
39
40
-#if defined(_WIN32) || defined(_WIN64) || defined(_WINDOWS) || defined(_MSC_VER)
41
-#ifndef WINDOWS
-#define WINDOWS
-#endif
-
0 commit comments