diff options
Diffstat (limited to 'gdb/rdi-share/host.h')
-rw-r--r-- | gdb/rdi-share/host.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/rdi-share/host.h b/gdb/rdi-share/host.h index 53b65681b8a..2fdbf5f4541 100644 --- a/gdb/rdi-share/host.h +++ b/gdb/rdi-share/host.h @@ -120,7 +120,9 @@ typedef unsigned char unsigned8; # if defined(_MFC_VER) || defined(__CC_NORCROFT) /* When using MS Visual C/C++ v4.2 */ # define bool _bool /* avoids "'bool' is reserved word" warning */ # else - typedef _bool bool; +# ifndef bool + typedef _bool bool; +# endif # endif # define true _true # define false _false |