VirtualBox

Changeset 41308 in vbox


Ignore:
Timestamp:
May 15, 2012 12:19:03 PM (13 years ago)
Author:
vboxsync
Message:

Darwin build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/log/log.cpp

    r41307 r41308  
    185185/** Default logger instance. Make it weak because our RC module loader does not
    186186 *  necessarily resolve this symbol and the compiler _must_ check if this is
    187  *  the case or not. */
     187 *  the case or not. That doesn't work for Darwin (``incompatible feature used:
     188 *  .weak_reference (must specify "-dynamic" to be used'') */
     189# ifdef RT_OS_DARWIN
     190extern "C" DECLIMPORT(RTLOGGERRC) g_Logger;
     191# else
    188192extern "C" DECLWEAK(DECLIMPORT(RTLOGGERRC)) g_Logger;
     193# endif
    189194#else /* !IN_RC */
    190195/** Default logger instance. */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette