diff --git a/src/twn_textures.c b/src/twn_textures.c index 2461a46..9d61334 100644 --- a/src/twn_textures.c +++ b/src/twn_textures.c @@ -462,7 +462,7 @@ void textures_update_atlas(TextureCache *cache) { } /* EXPERIMANTAL: LIKELY TO BE REMOVED! */ -#if defined(__linux__) /* use rodata elf section for fast lookups of repeating textures */ +#if defined(__linux_x_) /* use rodata elf section for fast lookups of repeating textures */ #include "system/linux/twn_elf.h" @@ -628,7 +628,7 @@ size_t textures_get_num_atlases(const TextureCache *cache) { } void textures_reset_state(void) { -#if defined(__linux__) && !defined(HOT_RELOAD_SUPPORT) +#if defined(__linux__x) && !defined(HOT_RELOAD_SUPPORT) last_path = NULL; last_texture = (TextureKey){0}; shfree(ptr_to_texture);