Skip to content

Commit

Permalink
use right /dev/ path on Haiku
Browse files Browse the repository at this point in the history
merged upstream as tio#189 so this
patch can be removed on the next tio release
  • Loading branch information
Habbie committed Mar 20, 2023
1 parent a31bce5 commit 8e253a7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tty.c
Expand Up @@ -62,6 +62,9 @@
#elif defined(__CYGWIN__)
#define PATH_SERIAL_DEVICES "/dev/"
#define PREFIX_TTY_DEVICES "ttyS"
#elif defined(__HAIKU__)
#define PATH_SERIAL_DEVICES "/dev/ports/"
#define PREFIX_TTY_DEVICES ""
#else
#define PATH_SERIAL_DEVICES "/dev/serial/by-id/"
#define PREFIX_TTY_DEVICES ""
Expand Down

0 comments on commit 8e253a7

Please sign in to comment.