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

    r1 r11551  
    4141#include "prtypes.h"
    4242#include "prio.h"
     43
     44#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     45#define PR_CreateProcessDetached VBoxNsprPR_CreateProcessDetached
     46#define PR_ProcessAttrSetInheritableFD VBoxNsprPR_ProcessAttrSetInheritableFD
     47#define PR_DestroyProcessAttr VBoxNsprPR_DestroyProcessAttr
     48#define PR_NewProcessAttr VBoxNsprPR_NewProcessAttr
     49#define PR_ResetProcessAttr VBoxNsprPR_ResetProcessAttr
     50#define PR_ProcessAttrSetStdioRedirect VBoxNsprPR_ProcessAttrSetStdioRedirect
     51#define PR_SetStdioRedirect VBoxNsprPR_SetStdioRedirect
     52#define PR_ProcessAttrSetCurrentDirectory VBoxNsprPR_ProcessAttrSetCurrentDirectory
     53#define PR_CreateProcess VBoxNsprPR_CreateProcess
     54#define PR_DetachProcess VBoxNsprPR_DetachProcess
     55#define PR_WaitProcess VBoxNsprPR_WaitProcess
     56#define PR_KillProcess VBoxNsprPR_KillProcess
     57#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    4358
    4459PR_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