summaryrefslogtreecommitdiff
path: root/gdb/rdi-share/serdrv.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/rdi-share/serdrv.c')
-rw-r--r--gdb/rdi-share/serdrv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/rdi-share/serdrv.c b/gdb/rdi-share/serdrv.c
index 9a2992ee10b..91f8f196b2f 100644
--- a/gdb/rdi-share/serdrv.c
+++ b/gdb/rdi-share/serdrv.c
@@ -85,10 +85,10 @@ static struct writestate wstate;
* The set of parameter options supported by the device
*/
static unsigned int baud_options[] = {
-#ifdef B115200 || __hpux
+#if defined(B115200) || defined(__hpux)
115200,
#endif
-#ifdef B57600 || __hpux
+#if defined(B57600) || defined(__hpux)
57600,
#endif
38400, 19200, 9600