Forráskód Böngészése

COMP: also build the static dummy loader on Cray Catamount

Alex
Alexander Neundorf 18 éve
szülő
commit
d486e7c871
1 módosított fájl, 2 hozzáadás és 1 törlés
  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
 // __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()
 #define DYNAMICLOADER_DEFINED 1