summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/DynamicLoader.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-08-01 14:07:46 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-08-01 14:07:46 (GMT)
commitd486e7c871bb6625013c7cac82c06ebf296ab7f5 (patch)
treee62d236ac346465996075b7f8a3dea534f5e3a64 /Source/kwsys/DynamicLoader.cxx
parentf7f522e61a32c93c86ee455d8c465d8e7e52ae5a (diff)
downloadCMake-d486e7c871bb6625013c7cac82c06ebf296ab7f5.zip
CMake-d486e7c871bb6625013c7cac82c06ebf296ab7f5.tar.gz
CMake-d486e7c871bb6625013c7cac82c06ebf296ab7f5.tar.bz2
COMP: also build the static dummy loader on Cray Catamount
Alex
Diffstat (limited to 'Source/kwsys/DynamicLoader.cxx')
-rw-r--r--Source/kwsys/DynamicLoader.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/kwsys/DynamicLoader.cxx b/Source/kwsys/DynamicLoader.cxx
index efab65a..0c73d7a 100644
--- a/Source/kwsys/DynamicLoader.cxx
+++ b/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