diff --git a/src/main.cpp b/src/main.cpp index 3d517ace4..e9886ac0e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2279,8 +2279,10 @@ int main(int argc, char *argv[] ) { Log::closeOutputFiles(); #endif +#ifndef ANDROID fclose(stderr); fclose(stdout); +#endif #ifndef WIN32 } #endif