VirtualBox

Ignore:
Timestamp:
Sep 20, 2024 12:18:54 PM (7 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
164888
Message:

libs/xpcom: Fix building code using the XPCOM SDK bindings outside of VirtualBox, ticketref:22714 bugref:10773

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/xpcom/glue/nsDebug.h

    r102210 r106112  
    3939#define nsDebug_h___
    4040
    41 #include <iprt/thread.h>
     41#ifdef VBOX
     42# include <iprt/thread.h>
     43#endif
    4244
    4345#ifndef nscore_h___
     
    273275///////////////////////////////////////////////////////////////////////////////
    274276
     277#ifdef VBOX
    275278#define NS_CheckThreadSafe(owningThread, msg)                 \
    276279  NS_ASSERTION(owningThread == RTThreadSelf(), msg)
     280#endif
    277281
    278282#endif /* nsDebug_h___ */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette