Created
July 8, 2016 20:01
-
-
Save jeapostrophe/461083254d1c25850b808a428a879636 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 5573e58c5a122e90d3f394f247f94ba5405bd729 | |
Author: Jay McCarthy <[email protected]> | |
Date: Wed Jul 6 17:24:55 2016 -0400 | |
Switch from deprecated Posix function removed in Android's LB64 ABI | |
diff --git a/racket/src/racket/src/port.c b/racket/src/racket/src/port.c | |
index d5b965d..26995ba 100644 | |
--- a/racket/src/racket/src/port.c | |
+++ b/racket/src/racket/src/port.c | |
@@ -10439,6 +10439,8 @@ static void close_fds_after_fork(int skip1, int skip2, int skip3) | |
# ifdef USE_ULIMIT | |
i = ulimit(4, 0); | |
+# elif defined(__ANDROID__) | |
+ i = sysconf(_SC_OPEN_MAX); | |
# else | |
i = getdtablesize(); | |
# endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment