]> git.proxmox.com Git - qemu.git/commit - qemu-common.h
w64: Don't redefine lseek, ftruncate
authorStefan Weil <sw@weilnetz.de>
Sat, 10 Mar 2012 10:14:31 +0000 (11:14 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 11 Mar 2012 11:27:30 +0000 (11:27 +0000)
commit371c6489000c2eba959aaebcb134a12ffec93c88
tree16d83348e95b309e1ad3f858223796f8e9f937b0
parente04b28996110bd6acfc059e9f2c8c5aba5119a46
w64: Don't redefine lseek, ftruncate

MinGW-w64 already defines lseek and ftruncate (and uses the 64 bit
variants). The conditional compilation avoids redefinitions
(which would be wrong) and compiler warnings.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
qemu-common.h