Changeset 106112 in vbox for trunk/src/libs
- Timestamp:
- Sep 20, 2024 12:18:54 PM (5 months ago)
- svn:sync-xref-src-repo-rev:
- 164888
- Location:
- trunk/src/libs/xpcom18a4
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/nsprpub/pr/include/md/_vbox.cfg
r102226 r106112 40 40 #define nspr_vboxcfg___ 41 41 42 #include <iprt/cdefs.h> 42 #ifdef VBOX 43 # include <iprt/cdefs.h> 43 44 44 45 #ifdef RT_LITTLE_ENDIAN … … 50 51 #else 51 52 # error "Unknown endianess" 53 #endif 54 #else 55 /* Assume little endian hosts as VBox doesn't run on anything else right now. */ 56 # undef IS_BIG_ENDIAN 57 # define IS_LITTLE_ENDIAN 52 58 #endif 53 59 -
trunk/src/libs/xpcom18a4/nsprpub/pr/include/prlong.h
r102251 r106112 49 49 #include "prtypes.h" 50 50 51 #include <iprt/types.h> 51 #ifdef VBOX 52 # include <iprt/types.h> 53 #else 54 # include <stdint.h> 55 #endif 52 56 53 57 #ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP … … 60 64 PR_BEGIN_EXTERN_C 61 65 66 #ifdef VBOX 62 67 /*********************************************************************** 63 68 ** DEFINES: LL_MaxInt … … 93 98 #define LL_ZERO LL_Zero() 94 99 #define LL_MAXUINT LL_MaxUint() 100 #endif 95 101 96 102 #if PR_BYTES_PER_LONG == 8 -
trunk/src/libs/xpcom18a4/nsprpub/pr/include/prmon.h
r103531 r106112 41 41 #include "prtypes.h" 42 42 43 #include <iprt/types.h> 43 #ifdef VBOX 44 # include <iprt/types.h> 45 #endif 44 46 45 47 #ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP … … 59 61 typedef struct PRMonitor PRMonitor; 60 62 63 #ifdef VBOX 61 64 /* 62 65 ** Create a new monitor. Monitors are re-entrant locks with a single built-in … … 129 132 130 133 NSPR_API(PRMonitor*) PR_NewNamedMonitor(const char* name); 134 #endif 131 135 132 136 PR_END_EXTERN_C -
trunk/src/libs/xpcom18a4/xpcom/build/nsXPCOM.h
r102016 r106112 42 42 #include "nsXPCOMCID.h" 43 43 44 #include <iprt/thread.h> 44 #ifdef VBOX 45 # include <iprt/thread.h> 46 #endif 45 47 46 48 #ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP … … 70 72 class nsITraceRefcnt; 71 73 74 #ifdef VBOX 72 75 typedef RTTHREADINT *RTTHREAD; 73 76 74 #ifdef VBOX75 77 /** 76 78 * Checks whether XPCOM was initialized by a call to NS_InitXPCOM2(). -
trunk/src/libs/xpcom18a4/xpcom/glue/nsDebug.h
r102210 r106112 39 39 #define nsDebug_h___ 40 40 41 #include <iprt/thread.h> 41 #ifdef VBOX 42 # include <iprt/thread.h> 43 #endif 42 44 43 45 #ifndef nscore_h___ … … 273 275 /////////////////////////////////////////////////////////////////////////////// 274 276 277 #ifdef VBOX 275 278 #define NS_CheckThreadSafe(owningThread, msg) \ 276 279 NS_ASSERTION(owningThread == RTThreadSelf(), msg) 280 #endif 277 281 278 282 #endif /* nsDebug_h___ */ -
trunk/src/libs/xpcom18a4/xpcom/threads/nsIEventQueue.idl
r102016 r106112 46 46 47 47 %{C++ 48 #include <iprt/thread.h> 48 #ifdef VBOX 49 # include <iprt/thread.h> 50 #else 51 typedef struct RTTHREADINT *RTTHREAD; 52 #endif 49 53 50 54 // {13D86C61-00A9-11d3-9F2A-00400553EEF0} … … 105 109 void stopAcceptingEvents(); 106 110 }; 107 -
trunk/src/libs/xpcom18a4/xpcom/threads/nsIEventQueueService.idl
r102016 r106112 51 51 #include "plevent.h" 52 52 53 #include <iprt/thread.h> 53 #ifdef VBOX 54 # include <iprt/thread.h> 55 #else 56 typedef struct RTTHREADINT *RTTHREAD; 57 #endif 54 58 55 59 /* be761f00-a3b0-11d2-996c-0080c7cb1080 */ -
trunk/src/libs/xpcom18a4/xpcom/threads/plevent.h
r102459 r106112 188 188 #include "prmon.h" 189 189 190 #include <iprt/critsect.h> 191 #include <iprt/list.h> 192 #include <iprt/semaphore.h> 193 #include <iprt/thread.h> 190 #ifdef VBOX 191 # include <iprt/critsect.h> 192 # include <iprt/list.h> 193 # include <iprt/semaphore.h> 194 # include <iprt/thread.h> 195 #endif 194 196 195 197 #ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP … … 229 231 typedef struct PLEventQueue PLEventQueue; 230 232 233 #ifdef VBOX 234 231 235 /******************************************************************************* 232 236 * Event Queue Operations … … 441 445 PL_IsQueueNative(PLEventQueue *queue); 442 446 447 #endif /* VBOX */ 448 443 449 /******************************************************************************* 444 450 * Event Operations … … 461 467 typedef void 462 468 (PR_CALLBACK *PLDestroyEventProc)(PLEvent* self); 469 470 #ifdef VBOX 463 471 464 472 /* … … 607 615 #endif /* XP_UNIX */ 608 616 617 #endif /* VBOX */ 609 618 610 619 /* ----------------------------------------------------------------------- */
Note:
See TracChangeset
for help on using the changeset viewer.