change ANDROID define to TARGET_ANDROID

This commit is contained in:
CraftyBoss
2026-04-14 03:18:21 -07:00
parent 35650784c3
commit ec091ac3af
14 changed files with 24 additions and 20 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ void *_memcpy(void* dest, void const* src, int n) {
}
void DCZeroRange(void* addr, uint32_t nBytes) {
#if defined(_MSC_VER) || ANDROID
#if defined(_MSC_VER) || TARGET_ANDROID
memset(addr, 0, nBytes);
#else
bzero(addr, nBytes);
+1 -1
View File
@@ -47,7 +47,7 @@ void fileDialogCallback(void* userdata, const char* const* filelist, [[maybe_unu
ImGuiPreLaunchWindow::ImGuiPreLaunchWindow() = default;
bool ImGuiPreLaunchWindow::isSelectedPathValid() const {
#if ANDROID
#if TARGET_ANDROID
return !m_selectedIsoPath.empty(); // unsure why SDL_GetPathInfo doesnt work here
#else
return !m_selectedIsoPath.empty() && SDL_GetPathInfo(m_selectedIsoPath.c_str(), nullptr);
+2 -2
View File
@@ -9,7 +9,7 @@
#include "tracy/Tracy.hpp"
#if ANDROID
#if TARGET_ANDROID
#include "android/log.h"
#include <vector>
#include <sstream>
@@ -97,7 +97,7 @@ static bool IsForStubLog(const char* message) {
return false;
}
#if ANDROID
#if TARGET_ANDROID
void aurora_log_callback(AuroraLogLevel level, const char* module, const char* message,
unsigned int len) {
ZoneScoped;