engine: cleanup XASH_64BIT usage. Always use it from build.h

This commit is contained in:
Alibek Omarov
2024-10-24 16:39:09 +03:00
parent 40ffde0439
commit 128a1f59a9
6 changed files with 40 additions and 35 deletions
+3 -2
View File
@@ -26,7 +26,8 @@
* SUCH DAMAGE.
*/
#if defined __ANDROID__ && !defined XASH_64BIT
#include "build.h"
#if XASH_ANDROID && !XASH_64BIT
#include <string.h>
#include <android/log.h>
#include "linker.h"
@@ -102,4 +103,4 @@ void *dlsym_weak( void *handle, const char *symbol )
__android_log_print( ANDROID_LOG_ERROR, "dlsym-weak", "Failed when looking up %s\n", symbol );
return NULL;
}
#endif
#endif // XASH_ANDROID && !XASH_64BIT