VirtualBox

Changeset 2443 in vbox for trunk/src/libs/xpcom18a4/xpcom


Ignore:
Timestamp:
Apr 30, 2007 6:42:26 PM (18 years ago)
Author:
vboxsync
Message:

fix visibility for incompatible gcc-3.4 compilers

Location:
trunk/src/libs/xpcom18a4/xpcom
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/xpcom/base/nscore.h

    r2437 r2443  
    102102#ifdef HAVE_VISIBILITY_ATTRIBUTE
    103103#define NS_VISIBILITY_HIDDEN   __attribute__ ((visibility ("hidden")))
    104 # if __GNUC__ >= 4
     104# ifdef VBOX_HAVE_VISIBILITY_HIDDEN
    105105#  define NS_VISIBILITY_DEFAULT  __attribute__ ((visibility ("default")))
    106106# else
     
    183183#else
    184184
    185 # if __GNUC__ >= 4
     185# ifdef VBOX_HAVE_VISIBILITY_HIDDEN
    186186#  define NS_IMPORT
    187187#  define NS_IMPORT_(type) type
  • trunk/src/libs/xpcom18a4/xpcom/reflect/xptcall/public/xptcall.h

    r2437 r2443  
    6161#    define XPTC_EXPORT           __declspec(dllexport)
    6262#else
    63 #  if __GNUC__ >= 4
     63#  ifdef VBOX_HAVE_VISIBILITY_HIDDEN
    6464#    define XPTC_EXPORT           __attribute__((visibility("default")))
    6565#  else
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