First post, by superfury
When used for the armeabi-v7a and x86 architectures, they still compile, but I receive this warning:
X:/projects/unipcemu/android-project/jni_androidstudio/../jni/src/../../../UniPCemu/../commonemuframework/basicio/fopen64.c
:76:17: warning: implicit declaration of function 'fseeko' is invalid in C99 [-Wimplicit-function-declaration]
if (!(result = fseeko(b->f, pos, direction))) //Direction is constant itself!
^
X:/projects/unipcemu/android-project/jni_androidstudio/../jni/src/../../../UniPCemu/../commonemuframework/basicio/fopen64.c:78:17: warning: implicit declaration of function 'ftello' is invalid in C99 [-Wimplicit-function-declaration]
b->position = ftello(b->f); //Use our own position indicator!
^
Anyone knows how to fix this? It still compiles fine, other than that warning being produced, so it actually exists? Why isn't it defined(I've added all possible headers already to types.h:
#ifdef _FILE_OFFSET_BITS
#undef _FILE_OFFSET_BITS
#endif
#define _FILE_OFFSET_BITS 64
#ifdef _LARGEFILE_SOURCE
#undef _LARGEFILE_SOURCE
#endif
#define _LARGEFILE_SOURCE 1
#ifdef _LARGEFILE64_SOURCE
#undef _LARGEFILE64_SOURCE
#endif
#define _LARGEFILE64_SOURCE 1
#ifdef _POSIX_C_SOURCE
#undef _POSIX_C_SOURCE
#endif
#define _POSIX_C_SOURCE 200808L
64-bit platforms for Android take it without warnings?
Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io