Explorar o código

COMP: also build the static dummy loader on Cray Catamount

Alex
Alexander Neundorf %!s(int64=18) %!d(string=hai) anos
pai
achega
d486e7c871
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      Source/kwsys/DynamicLoader.cxx

+ 2 - 1
Source/kwsys/DynamicLoader.cxx

@@ -437,7 +437,8 @@ const char* DynamicLoader::LastError()
 // ---------------------------------------------------------------
 // ---------------------------------------------------------------
 // 5. Implementation for systems without dynamic libs
 // 5. Implementation for systems without dynamic libs
 // __gnu_blrts__ is IBM BlueGene/L
 // __gnu_blrts__ is IBM BlueGene/L
-#ifdef __gnu_blrts__
+// __LIBCATAMOUNT__ is defined on Catamount on Cray compute nodes
+#if defined(__gnu_blrts__) || defined(__LIBCATAMOUNT__)
 #include <string.h> // for strerror()
 #include <string.h> // for strerror()
 #define DYNAMICLOADER_DEFINED 1
 #define DYNAMICLOADER_DEFINED 1