filesystem: add XASH_ANDROID_ASSETS macro for aassets switch

This commit is contained in:
mittorn
2023-12-16 23:31:00 +03:00
committed by Alibek Omarov
parent 15798aaf52
commit d97d4d6c42
3 changed files with 9 additions and 5 deletions

View File

@@ -15,7 +15,7 @@ GNU General Public License for more details.
#include "port.h"
#if XASH_ANDROID
#if XASH_ANDROID_ASSETS
#include <sys/types.h>
#include <sys/stat.h>
@@ -328,4 +328,4 @@ void FS_InitAndroid( void )
jni.getAssets = (*jni.env)->GetMethodID( jni.env, jni.activity_class, "getAssets", "(Z)Landroid/content/res/AssetManager;" );
}
#endif // XASH_ANDROID
#endif // XASH_ANDROID_ASSETS