VirtualBox

Changeset 14963 in vbox for trunk/src/VBox/Main/xml


Ignore:
Timestamp:
Dec 3, 2008 9:30:44 PM (16 years ago)
Author:
vboxsync
Message:

gcc-3.3 hack

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/xml/xml.cpp

    r14922 r14963  
    6464
    6565        /* Save the default entity resolver before someone has replaced it */
    66         xml.defaultEntityLoader = xmlGetExternalEntityLoader();
     66        sxml.defaultEntityLoader = xmlGetExternalEntityLoader();
    6767    }
    6868
     
    8181        RTLockMtx lock;
    8282    }
    83     xml;
     83    sxml;  /* XXX naming this xml will break with gcc-3.3 */
    8484}
    8585gGlobal;
     
    358358    Data()
    359359        : pOldLoader(NULL),
    360           lock(gGlobal.xml.lock)
     360          lock(gGlobal.sxml.lock)
    361361    {
    362362    }
     
    385385                                              xmlParserCtxt *aCtxt)
    386386{
    387     return gGlobal.xml.defaultEntityLoader(aURI, aID, aCtxt);
     387    return gGlobal.sxml.defaultEntityLoader(aURI, aID, aCtxt);
    388388}
    389389
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