[BRLTTY] Linux-specific code for USB support
Samuel Thibault
samuel.thibault at ens-lyon.org
Tue Jul 22 05:48:14 EDT 2008
Alex Bernier, le Tue 22 Jul 2008 08:48:43 +0200, a écrit :
> How can I add Linux-specific code in BRLTTY ? Is there a specific "#define"
> which ensure that we are under Linux ?
#ifdef __linux__, but
> If not, maybe a solution would be to add an "detach_usb_device"
> function in usb_linux.c, usb_bsd.c, usb_darin.c... which is empty for
> all except for usb_linux.c.
That looks much more clean.
Samuel
More information about the BRLTTY
mailing list