[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.0.4-140-g939601e

mysql vizuser noreply at mpich.org
Sun May 5 20:37:06 CDT 2013


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  939601e06b888bb350e8a7bc5decc7332659ab07 (commit)
      from  259e65db9ecda965c47949295adc80978913fd80 (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/939601e06b888bb350e8a7bc5decc7332659ab07

commit 939601e06b888bb350e8a7bc5decc7332659ab07
Author: Pavan Balaji <balaji at mcs.anl.gov>
Date:   Sun May 5 20:17:15 2013 -0500

    hwloc fix to support c89 builds.
    
    No reviewer.

diff --git a/src/pm/hydra/tools/topo/hwloc/hwloc/config/hwloc.m4 b/src/pm/hydra/tools/topo/hwloc/hwloc/config/hwloc.m4
index 564ede4..3bec360 100644
--- a/src/pm/hydra/tools/topo/hwloc/hwloc/config/hwloc.m4
+++ b/src/pm/hydra/tools/topo/hwloc/hwloc/config/hwloc.m4
@@ -460,6 +460,10 @@ EOF])
                 [return sysctlbyname(NULL,NULL,NULL,NULL,0);],
                 AC_DEFINE([HAVE_SYSCTLBYNAME],[1],[Define to '1' if sysctlbyname is present and usable]))
 
+    AC_CHECK_DECLS([strtoull],
+	[AC_DEFINE([HWLOC_HAVE_DECL_STRTOULL],[1],[Define to '1' if strtoull declaration is present])],,
+	[AC_INCLUDES_DEFAULT])
+
     case ${target} in
       *-*-mingw*|*-*-cygwin*)
         hwloc_pid_t=HANDLE
diff --git a/src/pm/hydra/tools/topo/hwloc/hwloc/include/private/misc.h b/src/pm/hydra/tools/topo/hwloc/hwloc/include/private/misc.h
index f2d475e..e1ce98a 100644
--- a/src/pm/hydra/tools/topo/hwloc/hwloc/include/private/misc.h
+++ b/src/pm/hydra/tools/topo/hwloc/hwloc/include/private/misc.h
@@ -28,6 +28,10 @@
 #error "unknown size for unsigned int."
 #endif
 
+#if !defined(HWLOC_HAVE_DECL_STRTOULL)
+unsigned long long int strtoull(const char *nptr, char **endptr, int base);
+#endif /* HWLOC_HAVE_DECL_STRTOULL */
+
 
 /**
  * ffsl helpers.

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

Summary of changes:
 .../hydra/tools/topo/hwloc/hwloc/config/hwloc.m4   |    4 ++++
 .../tools/topo/hwloc/hwloc/include/private/misc.h  |    4 ++++
 2 files changed, 8 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list