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

    r1 r11551  
    4444#include "prtypes.h"
    4545
     46#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     47#define PR_SetLibraryPath VBoxNsprPR_SetLibraryPath
     48#define PR_GetLibraryPath VBoxNsprPR_GetLibraryPath
     49#define PR_GetLibraryName VBoxNsprPR_GetLibraryName
     50#define PR_FreeLibraryName VBoxNsprPR_FreeLibraryName
     51#define PR_LoadLibrary VBoxNsprPR_LoadLibrary
     52#define PR_LoadLibraryWithFlags VBoxNsprPR_LoadLibraryWithFlags
     53#define PR_UnloadLibrary VBoxNsprPR_UnloadLibrary
     54#define PR_FindSymbol VBoxNsprPR_FindSymbol
     55#define PR_FindFunctionSymbol VBoxNsprPR_FindFunctionSymbol
     56#define PR_FindSymbolAndLibrary VBoxNsprPR_FindSymbolAndLibrary
     57#define PR_FindFunctionSymbolAndLibrary VBoxNsprPR_FindFunctionSymbolAndLibrary
     58#define PR_LoadStaticLibrary VBoxNsprPR_LoadStaticLibrary
     59#define PR_GetLibraryFilePathname VBoxNsprPR_GetLibraryFilePathname
     60#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
     61
    4662PR_BEGIN_EXTERN_C
    4763
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