]> git.saurik.com Git - wxWidgets.git/commitdiff
correction for compilation with -cpp-precomp option
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Sat, 23 Jun 2001 19:39:46 +0000 (19:39 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Sat, 23 Jun 2001 19:39:46 +0000 (19:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/dl_macosx.cpp

index 60510e7344904727b988730283b0d6f2eba6d318..b2384b8459175340b9e63173195432deea115f45 100644 (file)
@@ -29,7 +29,9 @@ int dlclose(void *handle) /* stub only */
     return 0;
 }
 
-#import <mach-o/dyld.h>
+extern "C" {
+  #import <mach-o/dyld.h>
+};
 
 enum dyldErrorSource
 {