]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dynlib.cpp
Added dummy resources for wxCocoa so bundles will build
[wxWidgets.git] / src / common / dynlib.cpp
index 3ab2153462afdfdcaad3c8c0af9d4be295db10c8..fb869777e9717f327fd00a19492afcedea3be7b4 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #   pragma implementation "dynlib.h"
 #endif
 
@@ -300,7 +300,8 @@ bool wxDynamicLibrary::Load(wxString libname, int flags)
     return IsLoaded();
 }
 
-/* static */ void wxDynamicLibrary::Unload(wxDllType handle)
+/* static */
+void wxDynamicLibrary::Unload(wxDllType handle)
 {
 #if defined(__WXPM__) || defined(__EMX__)
     DosFreeModule( handle );
@@ -313,7 +314,7 @@ bool wxDynamicLibrary::Load(wxString libname, int flags)
 #elif defined(__WXMAC__) && !defined(__DARWIN__)
     CloseConnection( (CFragConnectionID*) &handle );
 #else
-#error  "runtime shared lib support not implemented"
+    #error  "runtime shared lib support not implemented"
 #endif
 }