Disabled cin/cout/cerr because they are crashing at random

This commit is contained in:
pelya
2010-12-20 11:18:07 +00:00
parent a57f8e3cb6
commit eef775dfcb

View File

@@ -15,6 +15,14 @@
* modified is included with the above copyright notice.
*
*/
/* Outputting anything to cout/cerr WILL CRASH YOUR PROGRAM on specific devices -
x5a/x6d Android 2.1 tablet, and some other tablets,
however the same code runs on my HTC Evo without problem.
So I've just disabled them altogether.
*/
#ifndef ANDROID
#include "stlport_prefix.h"
#include <istream>
@@ -394,6 +402,8 @@ bool _STLP_CALL ios_base::sync_with_stdio(bool sync) {
_STLP_END_NAMESPACE
#endif /* ANDROID */
// Local Variables:
// mode:C++
// End: