Fixed Android ifdef for log

This commit is contained in:
n00b87
2025-11-25 05:38:12 -06:00
parent dd6de7875e
commit 606d74fd39
11 changed files with 82 additions and 19 deletions

View File

@@ -10,9 +10,11 @@
#if defined(RC_ANDROID) || defined(RC_WINDOWS)
#include <irrlicht.h>
#include <btBulletDynamicsCommon.h>
#include <android/log.h>
#define LOGE(TAG, ...) __android_log_print(ANDROID_LOG_ERROR , TAG,__VA_ARGS__)
#if defined(RC_ANDROID)
#include <android/log.h>
#define LOGE(TAG, ...) __android_log_print(ANDROID_LOG_ERROR , TAG,__VA_ARGS__)
#endif // defined
#else
#include <irrlicht.h>