X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lnet%2Flnet%2Flib-eq.c;h=5bae602fa88efd61097f6564ae07a61faf13efb1;hp=98adeccf20f47165af6ca8ec9c86047e4ed30b24;hb=05f5c4ca167911c60e4a72beb411306363df877d;hpb=ed88907a96ba81d3558e71ade9def98bdc785169 diff --git a/lnet/lnet/lib-eq.c b/lnet/lnet/lib-eq.c index 98adecc..5bae602 100644 --- a/lnet/lnet/lib-eq.c +++ b/lnet/lnet/lib-eq.c @@ -185,7 +185,7 @@ LNetEQPoll (lnet_handle_eq_t *eventqs, int neq, int timeout_ms, #else struct timeval then; struct timeval now; -# if HAVE_LIBPTHREAD +# ifdef HAVE_LIBPTHREAD struct timespec ts; # endif lnet_ni_t *eqwaitni = the_lnet.ln_eqwaitni; @@ -283,7 +283,7 @@ LNetEQPoll (lnet_handle_eq_t *eventqs, int neq, int timeout_ms, RETURN (0); } -# if !HAVE_LIBPTHREAD +# ifndef HAVE_LIBPTHREAD /* If I'm single-threaded, LNET fails at startup if it can't * set the_lnet.ln_eqwaitni correctly. */ LBUG();