diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-06 17:47:39 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-06 17:47:39 +0000 |
commit | eb38c52c2a6df76928c1a4760bc87d21b256e22a (patch) | |
tree | 0b391e1d33f6f47a90f7c3fa8e63e863ee9f1b8e /exec.c | |
parent | 5bfd5521ff344eedd862abdfda9a68cefad912ba (diff) | |
download | qemu-eb38c52c2a6df76928c1a4760bc87d21b256e22a.zip qemu-eb38c52c2a6df76928c1a4760bc87d21b256e22a.tar.gz qemu-eb38c52c2a6df76928c1a4760bc87d21b256e22a.tar.bz2 |
Fix most warnings that would be caused by gcc flag -Wundef
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5173 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'exec.c')
-rw-r--r-- | exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2259,7 +2259,7 @@ static uint32_t unassigned_mem_readb(void *opaque, target_phys_addr_t addr) #endif #ifdef TARGET_SPARC do_unassigned_access(addr, 0, 0, 0); -#elif TARGET_CRIS +#elif defined(TARGET_CRIS) do_unassigned_access(addr, 0, 0, 0); #endif return 0; @@ -2272,7 +2272,7 @@ static void unassigned_mem_writeb(void *opaque, target_phys_addr_t addr, uint32_ #endif #ifdef TARGET_SPARC do_unassigned_access(addr, 1, 0, 0); -#elif TARGET_CRIS +#elif defined(TARGET_CRIS) do_unassigned_access(addr, 1, 0, 0); #endif } |