mirror of https://github.com/pyodide/pyodide.git
Slightly simplify cpython patch (#1023)
This commit is contained in:
parent
9dff7308ec
commit
a211802b44
|
@ -14,18 +14,7 @@ index e79e732d1f..864dc78a57 100644
|
|||
{
|
||||
+#ifdef EMSCRIPTEN
|
||||
+ return 0;
|
||||
+#else
|
||||
+#endif
|
||||
#ifdef MS_WINDOWS
|
||||
HANDLE handle;
|
||||
DWORD flags;
|
||||
@@ -1214,6 +1217,7 @@ set_inheritable(int fd, int inheritable, int raise, int *atomic_flag_works)
|
||||
}
|
||||
return 0;
|
||||
#endif
|
||||
+#endif
|
||||
}
|
||||
|
||||
/* Make the file descriptor non-inheritable.
|
||||
--
|
||||
2.25.1
|
||||
|
||||
|
|
Loading…
Reference in New Issue