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

Commite3995e0

Browse files
committed
Add #ifdef to avoid unused-function warning on other platforms
1 parentc6d9809 commite3995e0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎Python/pylifecycle.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2724,6 +2724,7 @@ init_sys_streams(PyThreadState *tstate)
27242724
}
27252725

27262726

2727+
#ifdef__ANDROID__
27272728
/* Redirecting streams to the log is a convenience, but won't be critical for
27282729
every app, so failures of this function are non-fatal. */
27292730
staticvoid
@@ -2744,6 +2745,7 @@ init_android_streams(PyThreadState *tstate)
27442745
}
27452746
Py_XDECREF(_android_support);
27462747
}
2748+
#endif
27472749

27482750

27492751
staticvoid

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp