Whamcloud - gitweb
b=20355 formalize support for pthreads
[fs/lustre-release.git] / lnet / lnet / lib-eq.c
index 61af852..272fdea 100644 (file)
@@ -203,7 +203,7 @@ LNetEQPoll (lnet_handle_eq_t *eventqs, int neq, int timeout_ms,
 #else
         struct timeval   then;
         struct timeval   now;
-# ifdef HAVE_LIBPTHREAD
+# ifdef HAVE_PTHREAD
         struct timespec  ts;
 # endif
         lnet_ni_t       *eqwaitni = the_lnet.ln_eqwaitni;
@@ -311,7 +311,7 @@ LNetEQPoll (lnet_handle_eq_t *eventqs, int neq, int timeout_ms,
                         RETURN (0);
                 }
 
-# ifndef HAVE_LIBPTHREAD
+# ifndef HAVE_PTHREAD
                 /* If I'm single-threaded, LNET fails at startup if it can't
                  * set the_lnet.ln_eqwaitni correctly.  */
                 LBUG();