mirror of
git://sigrok.org/libserialport
synced 2023-08-10 21:13:24 +03:00
parent
d8de88de32
commit
6c8115820d
@ -85,7 +85,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Non-standard baudrates are not available everywhere. */
|
/* 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
|
#define USE_TERMIOS_SPEED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@ SP_PRIV size_t get_termios_size(void)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#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
|
||||||
SP_PRIV int get_termios_speed(void *data)
|
SP_PRIV int get_termios_speed(void *data)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_STRUCT_TERMIOS2
|
#ifdef HAVE_STRUCT_TERMIOS2
|
||||||
|
Loading…
Reference in New Issue
Block a user