diff options
-rw-r--r-- | lib/posix/termios.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/posix/termios.nim b/lib/posix/termios.nim index 2a4462476..830e8a207 100644 --- a/lib/posix/termios.nim +++ b/lib/posix/termios.nim @@ -203,7 +203,7 @@ const # Compare a character C to a value VAL from the `cc' array in a # `struct termios'. If VAL is _POSIX_VDISABLE, no character can match it. -template CCEQ*(val, c: expr): expr = +template cceq*(val, c: expr): expr = c == val and val != POSIX_VDISABLE # Return the output baud rate stored in *TERMIOS_P. |