mirror of https://github.com/FWGS/xash3d-fwgs
Fix wrong function name and macro on ARM target
This commit is contained in:
parent
892c735c86
commit
ec92d05930
|
@ -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 )
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in New Issue