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

    r1 r11551  
    4949 *              CHANGE
    5050 */
     51
     52#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     53#define PR_CreateThreadPool VBoxNsprPR_CreateThreadPool
     54#define PR_QueueJobPR_QueueJob_Read VBoxNsprPR_QueueJobPR_QueueJob_Read
     55#define PR_QueueJob VBoxNsprPR_QueueJob
     56#define PR_QueueJob_Read VBoxNsprPR_QueueJob_Read
     57#define PR_QueueJob_Write VBoxNsprPR_QueueJob_Write
     58#define PR_QueueJob_Accept VBoxNsprPR_QueueJob_Accept
     59#define PR_QueueJob_Connect VBoxNsprPR_QueueJob_Connect
     60#define PR_QueueJob_Timer VBoxNsprPR_QueueJob_Timer
     61#define PR_CancelJob VBoxNsprPR_CancelJob
     62#define PR_JoinJob VBoxNsprPR_JoinJob
     63#define PR_ShutdownThreadPool VBoxNsprPR_ShutdownThreadPool
     64#define PR_JoinThreadPool VBoxNsprPR_JoinThreadPool
     65#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    5166
    5267PR_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