[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


Hi

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
http://lists.ximian.com/pipermail/mono-list/2006-October/032929.html
My suggestion is to extend the already existing renaming 
(http://bugzilla.ximian.com/show_bug.cgi?id=77324) in configure.in from

    *-*-darwin*)
..
        CPPFLAGS="$CPPFLAGS -DGetCurrentProcess=MonoGetCurrentProcess"
to
        CPPFLAGS="$CPPFLAGS -DGetCurrentProcess=MonoGetCurrentProcess 
-DGetCurrentThread=MonoGetCurrentThread -DCreateEvent=MonoCreateEvent"

this at least solved problems for me

Best Regards,

Stefan





More information about the Mono-devel-list mailing list