Merge branch release-2018
[alexxy/gromacs.git] / src / gromacs / utility / binaryinformation.cpp
index 6609567cd93f867d6efd5b9bbfba49b34be0ae6f..ab64d393cf3af7728d958f69aff3fd432bbb659f 100644 (file)
@@ -263,10 +263,7 @@ void gmx_print_version_info(gmx::TextWriter *writer)
     writer->writeLine("TNG support:        disabled");
 #endif
 #if GMX_USE_HWLOC
-    writer->writeLine(formatString("Hwloc support:      hwloc-%d.%d.%d",
-                                   HWLOC_API_VERSION>>16,
-                                   (HWLOC_API_VERSION>>8) & 0xFF,
-                                   HWLOC_API_VERSION & 0xFF));
+    writer->writeLine(formatString("Hwloc support:      hwloc-%s", HWLOC_VERSION));
 #else
     writer->writeLine("Hwloc support:      disabled");
 #endif