// System dependent include
// ---------------------------------------------------------------------------
-#if defined(__UNIX__) || defined(__unix__)
+#if defined(__UNIX__)
#include <dlfcn.h>
#endif
wxLibrary::~wxLibrary()
{
if (m_handle && m_destroy) {
-#if defined(__UNIX__) || defined(__unix__)
+#if defined(__UNIX__)
dlclose(m_handle);
#endif
#ifdef __WINDOWS__
void *wxLibrary::GetSymbol(const wxString& symbname)
{
-#if defined(__UNIX__) || defined(__unix__)
+#if defined(__UNIX__)
return dlsym(m_handle, WXSTRINGCAST symbname);
#endif
#ifdef __WINDOWS__
old_sm_first = wxClassInfo::sm_first;
wxClassInfo::sm_first = NULL;
-#if defined(__UNIX__) || defined(__unix__)
+#if defined(__UNIX__)
lib_name.Prepend("./lib");
lib_name += ".so";