Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite1d6034

Browse files
committed
Fix the dotted/undotted logic
1 parentaad0427 commite1d6034

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ def build_extension(self, ext):
281281
ifnotenable_shared:
282282
defines.append("PYTHON_WITHOUT_ENABLE_SHARED")
283283

284-
else:
284+
ifsys.platform=="win32":
285285
defines.append("WINDOWS")
286286

287287
ifhasattr(sys,"abiflags"):

‎src/runtime/runtime.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ public class Runtime
5757
#error You must define one of PYTHON34 to PYTHON38
5858
#endif
5959

60-
#if!WINDOWS
60+
#ifWINDOWS
6161
internalconststringdllBase="python3"+_minor;
62-
#else// Windows
62+
#else
6363
internalconststringdllBase="python3."+_minor;
6464
#endif
6565

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp