[libdispatch-dev] Solaris portability, dispatch.h - PATCH [5/6]

Joakim Johansson jocke at tbricks.com
Fri Nov 6 07:01:42 PST 2009


Checking for sys/cdefs.h again...

Joakim

 > svn diff private.h
Index: private.h
===================================================================
--- private.h	(revision 140)
+++ private.h	(working copy)
@@ -33,7 +33,9 @@
  #include <mach/message.h>
  #endif
  #include <unistd.h>
+#if HAVE_SYS_CDEFS_H
  #include <sys/cdefs.h>
+#endif
  #include <pthread.h>

  #ifndef __DISPATCH_BUILDING_DISPATCH__




More information about the libdispatch-dev mailing list