// System dependent include
// ---------------------------------------------------------------------------
-#ifdef __UNIX__
+#if defined(__UNIX__)
#include <dlfcn.h>
#endif
wxLibrary::~wxLibrary()
{
if (m_handle && m_destroy) {
-#ifdef __UNIX__
+#if defined(__UNIX__)
dlclose(m_handle);
#endif
#ifdef __WINDOWS__
void *wxLibrary::GetSymbol(const wxString& symbname)
{
-#ifdef __UNIX__
+#if defined(__UNIX__)
return dlsym(m_handle, WXSTRINGCAST symbname);
#endif
#ifdef __WINDOWS__
while (node) {
obj = ((wxLibrary *)node->Data())->CreateObject(path);
- if (obj)
+ if (obj)
return obj;
node = node->Next();