12 #ifndef DATATOOLS_DYNAMICLOADER_HXX 13 #define DATATOOLS_DYNAMICLOADER_HXX 19 #elif defined(_WIN32) && !defined(__CYGWIN__) 21 #elif defined(__APPLE__) 22 #include <AvailabilityMacros.h> 23 #if MAC_OS_X_VERSION_MAX_ALLOWED < 1030 24 #include <mach-o/dyld.h> 26 #elif defined(__BEOS__) 27 #include <be/kernel/image.h> 61 #elif defined(_WIN32) && !defined(__CYGWIN__) 63 #elif defined(__APPLE__) 64 #if MAC_OS_X_VERSION_MAX_ALLOWED < 1030 69 #elif defined(__BEOS__) 76 typedef void (*SymbolPointer)();
88 static SymbolPointer GetSymbolAddress(
LibraryHandle,
const char*);
95 #if defined(__APPLE__) 98 #else // default POSIX 104 static const char* LastError();
111 #endif // DATATOOLS_DYNAMICLOADER_HXX