Mercurial > mplayer.hg
view input/lirc.h @ 25110:f618cb244428
Invert the logic to check the cmp return value cmp to avoid using the ! operator.
Useful on non-POSIX shells that do not support the ! operator. We normally
require a POSIX-compatible shell, but in this case the change is acceptable
since it does not complicate configure nor hurt readability.
patch by Ralf Menzel, menzel ls6.cs.uni-dortmund de
author | diego |
---|---|
date | Thu, 22 Nov 2007 16:46:48 +0000 |
parents | d375383e1a48 |
children | 6ac1ece1f9fe |
line wrap: on
line source
int mp_input_lirc_init(void); int mp_input_lirc_read(int fd,char* dest, int s); void mp_input_lirc_close(int fd);