ANDROID: Fix broken LoadMusicStream due to missing fopen macro override in raudio

This commit is contained in:
federico.gherardi 2026-02-25 00:28:02 +01:00
parent 4ebe7d6215
commit 9b07621440

View File

@ -180,6 +180,10 @@ typedef struct tagBITMAPINFOHEADER {
#include <stdio.h> // Required for: FILE, fopen(), fclose(), fread() #include <stdio.h> // Required for: FILE, fopen(), fclose(), fread()
#include <string.h> // Required for: strcmp() [Used in IsFileExtension(), LoadWaveFromMemory(), LoadMusicStreamFromMemory()] #include <string.h> // Required for: strcmp() [Used in IsFileExtension(), LoadWaveFromMemory(), LoadMusicStreamFromMemory()]
#if defined(PLATFORM_ANDROID)
#define fopen(name, mode) android_fopen(name, mode)
#endif
#if defined(RAUDIO_STANDALONE) #if defined(RAUDIO_STANDALONE)
#ifndef TRACELOG #ifndef TRACELOG
#define TRACELOG(level, ...) printf(__VA_ARGS__) #define TRACELOG(level, ...) printf(__VA_ARGS__)