Hi,

Is just requirement of B9600 (et al) macros the reason you check for
__GLIBC__?  I don't think you need to explicitly check for a specific
userland to use these macros, they're pretty standard.  I'd just check
for the kernel which is what is relevant here, and add __FreeBSD__,
etc. Something like:

  #if defined(__FreeBSD_kernel__) || defined(__FreeBSD__) ||
defined(__OpenBSD__)

Also, have you sent this patch to upstream?

-- 
Robert Millan



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to