Added cout/cerr that output to Android log to STLPort, fixed broken compilation for NDK r4b

This commit is contained in:
pelya
2010-12-21 14:29:52 +00:00
parent 4d16a4dc88
commit ea051bb11f
5 changed files with 121 additions and 4 deletions

View File

@@ -16,9 +16,11 @@
#include "SDL.h"
#include "SDL_image.h"
#include "test.h"
#include "ballfield.h"
/*----------------------------------------------------------
General tool functions
----------------------------------------------------------*/
@@ -359,6 +361,8 @@ int main(int argc, char* argv[])
int fps_start = 0;
float x_speed, y_speed, z_speed;
__android_log_print(ANDROID_LOG_INFO, "==TEST==", "SDL_Main: test::initCount %d test::initCount2", test::initCount, test::initCount2);
SDL_Init(SDL_INIT_VIDEO);
atexit(SDL_Quit);

View File

@@ -1 +1 @@
ballfield
fheroes2