diff --git a/Source/kwsys/DynamicLoader.cxx b/Source/kwsys/DynamicLoader.cxx index 9ca914639..ac02e1ab4 100644 --- a/Source/kwsys/DynamicLoader.cxx +++ b/Source/kwsys/DynamicLoader.cxx @@ -335,20 +335,13 @@ const char* DynamicLoader::LastError() #endif //_WIN32 // --------------------------------------------------------------- -// 4. Implementation for BeOS / Haiku -#if defined __BEOS__ || defined(__HAIKU__) +// 4. Implementation for BeOS +#if defined __BEOS__ #include // for strerror() -#ifdef __BEOS__ #include #include -#endif - -#ifdef __HAIKU__ -#include -#include -#endif #define DYNAMICLOADER_DEFINED 1 diff --git a/Source/kwsys/DynamicLoader.hxx.in b/Source/kwsys/DynamicLoader.hxx.in index 148904a89..3a0351570 100644 --- a/Source/kwsys/DynamicLoader.hxx.in +++ b/Source/kwsys/DynamicLoader.hxx.in @@ -25,8 +25,6 @@ #if MAC_OS_X_VERSION_MAX_ALLOWED < 1030 #include #endif -#elif defined(__HAIKU__) - #include #elif defined(__BEOS__) #include #endif @@ -69,8 +67,6 @@ public: #else typedef void* LibraryHandle; #endif -#elif defined(__HAIKU__) - typedef image_id LibraryHandle; #elif defined(__BEOS__) typedef image_id LibraryHandle; #else // POSIX