aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-netbsd-nat.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-09-08 21:26:14 -0400
committerMike Frysinger <vapier@gentoo.org>2021-09-08 21:32:34 -0400
commitaa0380cc7ef6844158408ea5892ccede177d5be9 (patch)
tree89b2f6400f9fdb453d238f673baa096030e7aec0 /gdb/mips-netbsd-nat.c
parentc7dee84894df6231bb7fce34cf36242c34d7f891 (diff)
downloadgdb-aa0380cc7ef6844158408ea5892ccede177d5be9.zip
gdb-aa0380cc7ef6844158408ea5892ccede177d5be9.tar.gz
gdb-aa0380cc7ef6844158408ea5892ccede177d5be9.tar.bz2
sim: microblaze: replace custom basic types with common ones
The basic "byte" type conflicts with Windows headers, and we already have common types that provide the right sizes. So replace these with the common ones to avoid issues. CC dv-sockser.o In file included from /usr/i686-w64-mingw32/usr/include/wtypes.h:8, from /usr/i686-w64-mingw32/usr/include/winscard.h:10, from /usr/i686-w64-mingw32/usr/include/windows.h:97, from /usr/i686-w64-mingw32/usr/include/winsock2.h:23, from ../../gnulib/import/sys/socket.h:684, from ../../gnulib/import/netinet/in.h:43, from .../build/sim/../../../sim/microblaze/../common/dv-sockser.c:39: /usr/i686-w64-mingw32/usr/include/rpcndr.h:63:25: error: conflicting types for 'byte'; have 'unsigned char' 63 | typedef unsigned char byte; | ^~~~ In file included from .../buildsim/../../../sim/microblaze/sim-main.h:21, from .../buildsim/../../../sim/microblaze/../common/dv-sockser.c:24: .../buildsim/../../../sim/microblaze/microblaze.h:94:25: note: previous declaration of 'byte' with type 'byte' {aka 'char'} 94 | typedef char byte; | ^~~~ make: *** [Makefile:513: dv-sockser.o] Error 1
Diffstat (limited to 'gdb/mips-netbsd-nat.c')
0 files changed, 0 insertions, 0 deletions