]> git.proxmox.com Git - qemu.git/commit
target-xtensa: fix missing errno codes for mingw32
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 6 Sep 2012 00:36:46 +0000 (04:36 +0400)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 8 Sep 2012 08:46:29 +0000 (08:46 +0000)
commitc29b1bee4b025f51f02cc9f521ca19cb5f3eb432
treeaa6ebb3645d3e2041de7797b178c51778d2eed7b
parentc001ed15f7bfeaa3cabde5c9cc79c4dfdb674769
target-xtensa: fix missing errno codes for mingw32

Put the following errno value mappings under #ifdef:

xtensa-semi.c: In function 'errno_h2g':
xtensa-semi.c:113: error: 'ENOTBLK' undeclared (first use in this function)
xtensa-semi.c:113: error: (Each undeclared identifier is reported only once
xtensa-semi.c:113: error: for each function it appears in.)
xtensa-semi.c:113: error: array index in initializer not of integer type
xtensa-semi.c:113: error: (near initialization for 'guest_errno')
xtensa-semi.c:124: error: 'ETXTBSY' undeclared (first use in this function)
xtensa-semi.c:124: error: array index in initializer not of integer type
xtensa-semi.c:124: error: (near initialization for 'guest_errno')
xtensa-semi.c:134: error: 'ELOOP' undeclared (first use in this function)
xtensa-semi.c:134: error: array index in initializer not of integer type
xtensa-semi.c:134: error: (near initialization for 'guest_errno')

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-xtensa/xtensa-semi.c