Whamcloud - gitweb
b=20355 formalize support for pthreads
[fs/lustre-release.git] / lnet / include / lnet / lib-lnet.h
index 20b587b..65591d3 100644 (file)
@@ -94,7 +94,7 @@ static inline int lnet_md_unlinkable (lnet_libmd_t *md)
 #define LNET_MUTEX_DOWN(m) cfs_mutex_down(m)
 #define LNET_MUTEX_UP(m)   cfs_mutex_up(m)
 #else
-# ifndef HAVE_LIBPTHREAD
+# ifndef HAVE_PTHREAD
 #define LNET_SINGLE_THREADED_LOCK(l)            \
 do {                                            \
         LASSERT ((l) == 0);                     \
@@ -662,7 +662,7 @@ int lnet_acceptor_port(void);
 void lnet_router_checker(void);
 #endif
 
-#ifdef HAVE_LIBPTHREAD
+#ifdef HAVE_PTHREAD
 int lnet_count_acceptor_nis(void);
 int lnet_acceptor_port(void);
 #endif