mirror of
https://github.com/raysan5/raylib.git
synced 2026-04-12 01:59:09 -04:00
[rcore][android] Replace android_fopen() with linker --wrap=fopen (#5605)
* ANDROID: replace android_fopen with linker --wrap=fopen * ANDROID: add --wrap=fopen linker flag to src/Makefile
This commit is contained in:
@ -180,11 +180,6 @@ typedef struct tagBITMAPINFOHEADER {
|
||||
#include <stdio.h> // Required for: FILE, fopen(), fclose(), fread()
|
||||
#include <string.h> // Required for: strcmp() [Used in IsFileExtension(), LoadWaveFromMemory(), LoadMusicStreamFromMemory()]
|
||||
|
||||
#if defined(PLATFORM_ANDROID)
|
||||
FILE *android_fopen(const char *fileName, const char *mode);
|
||||
#define fopen(name, mode) android_fopen(name, mode)
|
||||
#endif
|
||||
|
||||
#if defined(RAUDIO_STANDALONE)
|
||||
#ifndef TRACELOG
|
||||
#define TRACELOG(level, ...) printf(__VA_ARGS__)
|
||||
|
||||
Reference in New Issue
Block a user