]> granicus.if.org Git - pdns/commitdiff
Tobias Markmann assures us this fix will enable 'out of the box' compilation on Mac...
authorBert Hubert <bert.hubert@netherlabs.nl>
Thu, 30 Jul 2009 20:55:53 +0000 (20:55 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Thu, 30 Jul 2009 20:55:53 +0000 (20:55 +0000)
Untested!

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1389 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/unix_semaphore.cc

index 220f7a22bca69f708bcd6179a74729422e59868b..90ac9338f04d9861607e5b6922a1a9ee4952dcf2 100644 (file)
@@ -29,7 +29,7 @@
 #include <sys/types.h>
 
 
-#if DARWIN || _AIX
+#if DARWIN || _AIX || __APPLE__ 
 
 // Darwin 6.0 Compatible implementation, uses pthreads so it portable across more platforms.