Skip to content
Snippets Groups Projects
Commit e60d851d authored by Bill Hoffman's avatar Bill Hoffman
Browse files

ENH: fix dynamic loading on haiku

parent 0881cbae
No related branches found
No related tags found
No related merge requests found
......@@ -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 <string.h> // for strerror()
#ifdef __BEOS__
#include <be/kernel/image.h>
#include <be/support/Errors.h>
#endif
#ifdef __HAIKU__
#include <os/kernel/image.h>
#include <os/support/Errors.h>
#endif
#define DYNAMICLOADER_DEFINED 1
......
......@@ -25,8 +25,6 @@
#if MAC_OS_X_VERSION_MAX_ALLOWED < 1030
#include <mach-o/dyld.h>
#endif
#elif defined(__HAIKU__)
#include <os/kernel/image.h>
#elif defined(__BEOS__)
#include <be/kernel/image.h>
#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
......
......@@ -4,7 +4,7 @@
SET(KWSYS_DATE_STAMP_YEAR 2009)
# KWSys version date month component. Format is MM.
SET(KWSYS_DATE_STAMP_MONTH 01)
SET(KWSYS_DATE_STAMP_MONTH 02)
# KWSys version date day component. Format is DD.
SET(KWSYS_DATE_STAMP_DAY 09)
SET(KWSYS_DATE_STAMP_DAY 03)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment