Added ifdefs for android build with current tech stack

This commit is contained in:
n00b
2024-10-13 21:59:13 -04:00
parent 693037ccd6
commit 9509b4fa65
17 changed files with 2326 additions and 55 deletions

View File

@@ -27,6 +27,7 @@
#ifdef RC_ANDROID
#include <android_native_app_glue.h>
#include <jni.h>
#include <sys/param.h>
#include <algorithm>
@@ -4353,6 +4354,11 @@ void rcbasic_test()
SDL_DestroyWindow(win);
}
#ifdef RC_ANDROID
void android_main( android_app* application )
{
}
#else
int main(int argc, char * argv[])
{
//rcbasic_test();
@@ -4481,3 +4487,4 @@ int main(int argc, char * argv[])
//cout << "Hello world!" << endl;
return 0;
}
#endif