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/pratom.h

    r1 r11551  
    4646#include "prtypes.h"
    4747#include "prlock.h"
     48
     49#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     50#define PR_AtomicDecrement VBoxNsprPR_AtomicDecrement
     51#define PR_AtomicIncrement VBoxNsprPR_AtomicIncrement
     52#define PR_AtomicAdd VBoxNsprPR_AtomicAdd
     53#define PR_AtomicSet VBoxNsprPR_AtomicSet
     54#define PR_CreateStack VBoxNsprPR_CreateStack
     55#define PR_StackPush VBoxNsprPR_StackPush
     56#define PR_StackPop VBoxNsprPR_StackPop
     57#define PR_DestroyStack VBoxNsprPR_DestroyStack
     58#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    4859
    4960PR_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