[Mono-dev] Embedding mono on OS X, solving name collisions with Carbon.framework

Stefan Csomor csomor at advancedconcepts.ch
Thu Aug 16 03:47:17 EDT 2007


if mono is embedded on OS X into an application that already has the 
Carbon framework loaded, we run into two name collisions. This eg was 
also referred to by
My suggestion is to extend the already existing renaming 
(http://bugzilla.ximian.com/show_bug.cgi?id=77324) in configure.in from

        CPPFLAGS="$CPPFLAGS -DGetCurrentProcess=MonoGetCurrentProcess"
        CPPFLAGS="$CPPFLAGS -DGetCurrentProcess=MonoGetCurrentProcess 
-DGetCurrentThread=MonoGetCurrentThread -DCreateEvent=MonoCreateEvent"

this at least solved problems for me

Best Regards,


More information about the Mono-devel-list mailing list