diff --git a/lib/posix/termios.nim b/lib/posix/termios.nim index 2a44624764..830e8a2076 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.