summaryrefslogtreecommitdiff
path: root/cpu.h
diff options
context:
space:
mode:
authoraliaspider2014-12-10 12:29:19 +0100
committeraliaspider2014-12-10 12:29:19 +0100
commit6d7fd87e07f157237319b51a8e0583ce0a4a5e6d (patch)
treee9382c5c647f64e1473117101f4bddf1e708148d /cpu.h
parent41484cd73c4114228c12f6456f61cc5caa72fecf (diff)
downloadpicogpsp-6d7fd87e07f157237319b51a8e0583ce0a4a5e6d.tar.gz
picogpsp-6d7fd87e07f157237319b51a8e0583ce0a4a5e6d.tar.bz2
picogpsp-6d7fd87e07f157237319b51a8e0583ce0a4a5e6d.zip
add a HAVE_MMAP check, cleanups.
Diffstat (limited to 'cpu.h')
-rw-r--r--cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu.h b/cpu.h
index 405fa3f..1dc5fb7 100644
--- a/cpu.h
+++ b/cpu.h
@@ -152,7 +152,7 @@ s32 translate_block_thumb(u32 pc, translation_region_type translation_region,
#endif
-#ifdef __LIBRETRO__
+#ifdef HAVE_MMAP
extern u8* rom_translation_cache;
extern u8* ram_translation_cache;
extern u8* bios_translation_cache;