Fix wrong function name and macro on ARM target

This commit is contained in:
mittorn
2024-02-27 05:01:13 +03:00
committed by Alibek Omarov
parent 892c735c86
commit ec92d05930
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ static Elf_Sym* dlsym_handle_lookup( soinfo* si, const char* name )
{
return soinfo_elf_lookup( si, elfhash( name ), name );
}
#define XASH_ANDROID 1
#include "lib_android.h"
static int dladdr_fallback( const void *addr, Dl_info *info )
+1 -1
View File
@@ -19,7 +19,7 @@ GNU General Public License for more details.
#include "platform/android/lib_android.h"
#include "platform/android/dlsym-weak.h" // Android < 5.0
void *Android_GetServerLibrary( void )
void *ANDROID_GetServerLibrary( void )
{
return svgame.hInstance;
}
+1 -1
View File
@@ -20,7 +20,7 @@ GNU General Public License for more details.
#define Platform_POSIX_LoadLibrary( x ) ANDROID_LoadLibrary(( x ))
#define Platform_POSIX_GetProcAddress( x, y ) ANDROID_GetProcAddress(( x ), ( y ))
void *Android_GetServerLibrary( void );
void *ANDROID_GetServerLibrary( void );
void *ANDROID_LoadLibrary( const char *dllname );
void *ANDROID_GetProcAddress( void *hInstance, const char *name );