1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
Description: fix build failure on kfreebsd*
Bug-Debian: https://bugs.debian.org/622173
Bug-Ubuntu: https://bugs.launchpad.net/hugin/+bug/684357
Author: Andreas Metzler <ametzler@debian.org>
Last-Update: 2011-04-10
Index: zthreads/include/zthread/Config.h
===================================================================
--- zthreads.orig/include/zthread/Config.h
+++ zthreads/include/zthread/Config.h
@@ -107,11 +107,13 @@
# define ZT_POSIX
// Check for well known platforms
+// __GLIBC__ matches GNU/kFreeBSD.
#elif defined(__linux__) || \
defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || \
defined(__hpux) || \
defined(__sgi) || \
- defined(__sun)
+ defined(__sun) || \
+ defined(__GLIBC__)
# define ZT_POSIX
|