]> sigrok.org Git - libserialport.git/blobdiff - libserialport_internal.h
Linux: fix for alpha where BOTHER is not defined.
[libserialport.git] / libserialport_internal.h
index 669152b675339927e5b0dda0e993230c637fbe7c..308b20b34a5e069aad428f9b7719c3edb36c517b 100644 (file)
@@ -85,7 +85,7 @@
 #endif
 
 /* Non-standard baudrates are not available everywhere. */
-#if (defined(HAVE_TERMIOS_SPEED) || defined(HAVE_TERMIOS2_SPEED)) && defined(HAVE_DECL_BOTHER)
+#if (defined(HAVE_TERMIOS_SPEED) || defined(HAVE_TERMIOS2_SPEED)) && HAVE_DECL_BOTHER
 #define USE_TERMIOS_SPEED
 #endif