Re: Hugin (zthread) build error on kfreebsd*
2010/11/28 Andreas Metzler <email@example.com>:
> I am pretty sure kfreebsd* should end up in the same boat as FreeBSD
> and Linux, but am not sure on which #define I should try to match. It
> should reasonably clean for forwarding upstream. Comparing "gcc -dM -E
> /tmp/foo.c" on Linux and kfreebsd was not very helpful (Or should I
> match on on __FreeBSD_kernel__)?
> Any hints?
If this define implies something about the userland part of the
C API, you should use __GLIBC__. ZT_POSIX (as opposed to
ZT_WIN32 or such) seems to be the case (this has to do with
the thread API, right?).