]> git.sur5r.net Git - openldap/blobdiff - include/ldap_int_thread.h
add feature macros
[openldap] / include / ldap_int_thread.h
index a9aff33f2efd45bcb98df5732ec75202746dfb20..1e19a89c191d108d9bf11cad1508847bb408af81 100644 (file)
@@ -1,6 +1,6 @@
 /* $OpenLDAP$ */
 /*
- * Copyright 1998-2001 The OpenLDAP Foundation, Redwood City, California, USA
+ * Copyright 1998-2002 The OpenLDAP Foundation, Redwood City, California, USA
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -62,7 +62,11 @@ LDAP_END_DECL
  *                                *
  **********************************/
 
-#include <mach/cthreads.h>
+#if defined( HAVE_MACH_CTHREADS_H )
+#      include <mach/cthreads.h>
+#elif defined( HAVE_CTHREAD_H
+#      include <cthreads.h>
+#endif
 
 LDAP_BEGIN_DECL