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

    r1 r11551  
    5252
    5353#include "prtypes.h"
     54
     55#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     56#define PR_IntervalNow VBoxNsprPR_IntervalNow
     57#define PR_TicksPerSecond VBoxNsprPR_TicksPerSecond
     58#define PR_SecondsToInterval VBoxNsprPR_SecondsToInterval
     59#define PR_MillisecondsToInterval VBoxNsprPR_MillisecondsToInterval
     60#define PR_MicrosecondsToInterval VBoxNsprPR_MicrosecondsToInterval
     61#define PR_IntervalToSeconds VBoxNsprPR_IntervalToSeconds
     62#define PR_IntervalToMilliseconds VBoxNsprPR_IntervalToMilliseconds
     63#define PR_IntervalToMicroseconds VBoxNsprPR_IntervalToMicroseconds
     64#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    5465
    5566PR_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