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
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://mielke.cc/mailman/listinfo/brltty

Reply via email to