Mercurial > repos > blastem
diff terminal.c @ 2681:c4256ce2c45a
Updated Android port using gradle toolchain and with basic Storage Access Framework support for Android 11+ support
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 26 Mar 2025 01:20:55 -0700 |
parents | 794ba17f0716 |
children |
line wrap: on
line diff
--- a/terminal.c Wed Mar 26 01:20:09 2025 -0700 +++ b/terminal.c Wed Mar 26 01:20:55 2025 -0700 @@ -26,7 +26,7 @@ void init_terminal() { -#ifndef IS_LIB +#if !defined(IS_LIB) && !defined(__ANDROID__) if (!init_done) { if (!(isatty(STDIN_FILENO) && isatty(STDOUT_FILENO))) { #ifndef __APPLE__ @@ -40,7 +40,7 @@ mkfifo(INPUT_PATH, 0666); mkfifo(OUTPUT_PATH, 0666); - //close existing file descriptors + //close existing file descriptorsbundled_file_path close(STDIN_FILENO); close(STDOUT_FILENO); close(STDERR_FILENO);