COMP: Fix problem with namespace
This commit is contained in:
parent
8e137c54d6
commit
974e9d4667
@ -16,6 +16,17 @@
|
|||||||
|
|
||||||
#include <@KWSYS_NAMESPACE@/Configure.h>
|
#include <@KWSYS_NAMESPACE@/Configure.h>
|
||||||
|
|
||||||
|
#if defined(__hpux)
|
||||||
|
#include <dl.h>
|
||||||
|
#elif defined(_WIN32)
|
||||||
|
#include <windows.h>
|
||||||
|
#elif defined(__APPLE__)
|
||||||
|
#include <AvailabilityMacros.h>
|
||||||
|
#if MAC_OS_X_VERSION_MIN_REQUIRED < 1030
|
||||||
|
#include <mach-o/dyld.h>
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace @KWSYS_NAMESPACE@
|
namespace @KWSYS_NAMESPACE@
|
||||||
{
|
{
|
||||||
/** \class DynamicLoader
|
/** \class DynamicLoader
|
||||||
@ -42,15 +53,11 @@ public:
|
|||||||
// Ugly stuff for library handles
|
// Ugly stuff for library handles
|
||||||
// They are different on several different OS's
|
// They are different on several different OS's
|
||||||
#if defined(__hpux)
|
#if defined(__hpux)
|
||||||
#include <dl.h>
|
|
||||||
typedef shl_t LibraryHandle;
|
typedef shl_t LibraryHandle;
|
||||||
#elif defined(_WIN32)
|
#elif defined(_WIN32)
|
||||||
#include <windows.h>
|
|
||||||
typedef HMODULE LibraryHandle;
|
typedef HMODULE LibraryHandle;
|
||||||
#elif defined(__APPLE__)
|
#elif defined(__APPLE__)
|
||||||
#include <AvailabilityMacros.h>
|
|
||||||
#if MAC_OS_X_VERSION_MIN_REQUIRED < 1030
|
#if MAC_OS_X_VERSION_MIN_REQUIRED < 1030
|
||||||
#include <mach-o/dyld.h>
|
|
||||||
typedef NSModule LibraryHandle;
|
typedef NSModule LibraryHandle;
|
||||||
#else
|
#else
|
||||||
typedef void* LibraryHandle;
|
typedef void* LibraryHandle;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user