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 aad0427 commit e1d6034Copy full SHA for e1d6034
setup.py
@@ -281,7 +281,7 @@ def build_extension(self, ext):
281
if not enable_shared:
282
defines.append("PYTHON_WITHOUT_ENABLE_SHARED")
283
284
- else:
+ if sys.platform == "win32":
285
defines.append("WINDOWS")
286
287
if hasattr(sys, "abiflags"):
src/runtime/runtime.cs
@@ -57,9 +57,9 @@ public class Runtime
57
#error You must define one of PYTHON34 to PYTHON38
58
#endif
59
60
-#if !WINDOWS
+#if WINDOWS
61
internal const string dllBase = "python3" + _minor;
62
-#else // Windows
+#else
63
internal const string dllBase = "python3." + _minor;
64
65
0 commit comments