[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.2b2-35-g13b72b4

Service Account noreply at mpich.org
Tue May 19 13:58:06 CDT 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MPICH primary repository".

The branch, master has been updated
       via  13b72b4d12c61b201a8349c18638e3481668cd7f (commit)
      from  beda01ce47143311c03aeb61791b12d4d6e6f999 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.mpich.org/mpich.git/commitdiff/13b72b4d12c61b201a8349c18638e3481668cd7f

commit 13b72b4d12c61b201a8349c18638e3481668cd7f
Author: Ken Raffenetti <raffenet at mcs.anl.gov>
Date:   Sun May 17 21:36:56 2015 -0500

    dev/sock: fix build error with usleep
    
    Defines usleep when needed. This build error was discovered via the
    random config tests in jenkins.
    
    Signed-off-by: Rob Latham <robl at mcs.anl.gov>

diff --git a/src/util/wrappers/mpiu_process_wrappers.h b/src/util/wrappers/mpiu_process_wrappers.h
index e571279..7675c1b 100644
--- a/src/util/wrappers/mpiu_process_wrappers.h
+++ b/src/util/wrappers/mpiu_process_wrappers.h
@@ -35,6 +35,9 @@
 #elif defined (USE_USLEEP_FOR_YIELD)
     #ifdef HAVE_UNISTD_H
         #include <unistd.h>
+        #if defined (NEEDS_USLEEP_DECL)
+        int usleep(useconds_t usec);
+        #endif
     #endif
     #define MPIU_PW_Sched_yield() usleep(0)
 #elif defined (USE_SLEEP_FOR_YIELD)

-----------------------------------------------------------------------

Summary of changes:
 src/util/wrappers/mpiu_process_wrappers.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list