Reverted my change - it only makes things worse

This commit is contained in:
pelya
2010-11-24 20:03:06 +02:00
parent cad90e4159
commit 35feddc7f8

View File

@@ -94,10 +94,8 @@ JAVA_EXPORT_NAME(DemoRenderer_nativeInit) ( JNIEnv* env, jobject thiz, jstring
for( i = 0; i < argc; i++ )
__android_log_print(ANDROID_LOG_INFO, "libSDL", "param %d = \"%s\"", i, argv[i]);
// Redirect stdout and stderr - otherwise it crashes on Smartq V7
freopen("/dev/null", "w", stdout);
freopen("/dev/null", "w", stderr);
//freopen("/dev/null", "w", stdout); // It crashes on Smartq V7 anyway, inside these lines
//freopen("/dev/null", "w", stderr);
main( argc, argv );