#include <ac/time.h>
#include "ldap-int.h"
+
+#ifdef LDAP_R_COMPILE
+
#include "ldap_pvt_thread.h" /* Get the thread interface */
#define LDAP_THREAD_RDWR_IMPLEMENTATION
#include "ldap_thr_debug.h" /* May rename the symbols defined below */
#endif /* LDAP_RDWR_DEBUG */
#endif /* LDAP_THREAD_HAVE_RDWR */
+
+#endif /* LDAP_R_COMPILE */
#include <ac/time.h>
#include "ldap-int.h"
+
+#ifdef LDAP_R_COMPILE
+
#include "ldap_pvt_thread.h"
#include "ldap_queue.h"
#include "ldap_rq.h"
return count;
}
+#endif /* LDAP_R_COMPILE */
#include <ac/string.h>
#include <ac/unistd.h>
+#include "ldap-int.h"
+
+#ifdef LDAP_R_COMPILE
+
#include "ldap_pvt_thread.h" /* Get the thread interface */
#include "ldap_thr_debug.h" /* May redirect thread initialize/destroy calls */
return 0;
}
#endif
+
+#endif /* LDAP_R_COMPILE */
#include <ac/errno.h>
#include "ldap-int.h"
+
+#ifdef LDAP_R_COMPILE
+
#include "ldap_pvt_thread.h" /* Get the thread interface */
#include "ldap_queue.h"
#define LDAP_THREAD_POOL_IMPLEMENTATION
return ctx->ltu_id;
}
#endif /* LDAP_THREAD_HAVE_TPOOL */
+
+#endif /* LDAP_R_COMPILE */