On Wed, Mar 20, 2013 at 6:43 AM, Pete Batard <p...@akeo.ie> wrote: > Oh, and for what is worth, I think over at libusb we discussed the idea > of having a _detach() call that did nothing but returned success on > Windows, to avoid #ifdefs, but that idea was rejected at the time. I > think I proposed a patch for that actually.
Actually I think this is probably the way to go. Documenting that the _detach call is only functional under Linux and does nothing for other OS (just return success). > As long as we have a detach call in libusbx, I see no other way but to > indicate that libusbx does support HID access on Linux. > Now the day detach is dropped, which I believe is also something we > discussed, that's another story. I do not think that day will happen anytime soon. There are too many codes out there depending on the _detach call under Linux which happens to be one of the top platforms for libusb/libusbx. -- Xiaofan ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel