mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Fix tty path on MSYS/CYGWIN platforms
This commit is contained in:
parent
47827f094b
commit
6618642acf
1 changed files with 3 additions and 3 deletions
|
|
@ -55,11 +55,11 @@
|
|||
#include "timestamp.h"
|
||||
#include "misc.h"
|
||||
|
||||
#ifdef __APPLE__
|
||||
#if defined(__APPLE__)
|
||||
#define PATH_SERIAL_DEVICES "/dev/"
|
||||
#define PREFIX_TTY_DEVICES "tty."
|
||||
#elifdef __CYGWIN__
|
||||
#define PATH_SERIAL_DEVICES "/dev/serial/by-id/"
|
||||
#elif defined(__CYGWIN__)
|
||||
#define PATH_SERIAL_DEVICES "/dev/"
|
||||
#define PREFIX_TTY_DEVICES "ttyS"
|
||||
#else
|
||||
#define PATH_SERIAL_DEVICES "/dev/serial/by-id/"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue