#endif
// for MSW/Unix it is defined in platform-specific file
-#if !(defined(__WXMSW__) && (!defined(__UNIX__) || defined(__EMX__)))
+#if !(defined(__WXMSW__) || defined(__UNIX__)) || defined(__EMX__)
wxDllType wxDynamicLibrary::GetProgramHandle()
{