]> git.proxmox.com Git - mirror_qemu.git/commit - memory.c
memory: avoid a name clash with access macro
authorKONRAD Frederic <frederic.konrad@adacore.com>
Thu, 21 Sep 2017 10:04:20 +0000 (12:04 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 21 Sep 2017 12:08:17 +0000 (14:08 +0200)
commit05e015f73c3b5c50c237d3d8e555e25cfa543a5c
treec7e081d9c3ffebe1b4de437c5e31f34adf2accbd
parent3110cdbd8a4845c5b5fb861b0a664c56d993dd3c
memory: avoid a name clash with access macro

This avoids a name clash with the access macro on windows 64:

make
CHK version_gen.h
  CC      aarch64-softmmu/memory.o
/home/konrad/qemu/memory.c: In function 'access_with_adjusted_size':
/home/konrad/qemu/memory.c:591:73: error: macro "access" passed 7 arguments, \
                         but takes just 2
                         (size - access_size - i) * 8, access_mask, attrs);
                                                                         ^

Signed-off-by: KONRAD Frederic <frederic.konrad@adacore.com>
Message-Id: <1505988260-8483-1-git-send-email-frederic.konrad@adacore.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
memory.c