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

    r1 r11551  
    4747#include <stddef.h>
    4848#include <stdlib.h>
     49
     50#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     51#define PR_Malloc VBoxNsprPR_Malloc
     52#define PR_Calloc VBoxNsprPR_Calloc
     53#define PR_Realloc VBoxNsprPR_Realloc
     54#define PR_Free VBoxNsprPR_Free
     55#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    4956
    5057PR_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