VirtualBox

Ignore:
Timestamp:
Aug 21, 2008 5:16:02 PM (16 years ago)
Author:
vboxsync
Message:

API/xpcom: prefix any C symbols in VBoxXPCOM.so, to avoid namespace pollution. Enabled only on Linux at the moment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prrwlock.h

    r1 r11551  
    4646
    4747#include "prtypes.h"
     48
     49#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     50#define PR_NewRWLock VBoxNsprPR_NewRWLock
     51#define PR_DestroyRWLock VBoxNsprPR_DestroyRWLock
     52#define PR_RWLock_Rlock VBoxNsprPR_RWLock_Rlock
     53#define PR_RWLock_Wlock VBoxNsprPR_RWLock_Wlock
     54#define PR_RWLock_Unlock VBoxNsprPR_RWLock_Unlock
     55#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    4856
    4957PR_BEGIN_EXTERN_C
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