Changeset 3191 in vbox for trunk/src/VBox/Main/VirtualBoxBase.cpp
- Timestamp:
- Jun 20, 2007 10:26:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/VirtualBoxBase.cpp
r2981 r3191 20 20 */ 21 21 22 #if !defined (VBOX_WITH_XPCOM) 22 23 #if defined (__WIN__) 23 24 #include <windows.h> 24 25 #include <dbghelp.h> 25 #else // !defined (__WIN__) 26 #endif 27 #else // !defined (VBOX_WITH_XPCOM) 26 28 #include <nsIServiceManager.h> 27 29 #include <nsIExceptionService.h> 28 #endif 30 #endif // !defined (VBOX_WITH_XPCOM) 29 31 30 32 #include "VirtualBoxBase.h" … … 507 509 AssertReturn (aLock, (void) 0); 508 510 509 #if defined(__LINUX__) && defined(__GNUC__)511 #if (defined(__LINUX__) || defined(__OS2__)) && defined(__GNUC__) 510 512 511 513 RTCritSectEnterDebug (aLock, … … 570 572 RTCritSectEnter (aLock); 571 573 572 #endif // defined(__LINUX__) 574 #endif // defined(__LINUX__)... 573 575 } 574 576 … … 671 673 CheckComRCBreakRC (rc); 672 674 675 #if !defined (VBOX_WITH_XPCOM) 673 676 #if defined (__WIN__) 674 677 … … 707 710 rc = ::SetErrorInfo (0, err); 708 711 709 #else // !defined (__WIN__) 712 #endif 713 #else // !defined (VBOX_WITH_XPCOM) 710 714 711 715 nsCOMPtr <nsIExceptionService> es; … … 769 773 } 770 774 771 #endif // !defined ( __WIN__)775 #endif // !defined (VBOX_WITH_XPCOM) 772 776 } 773 777 while (0);
Note:
See TracChangeset
for help on using the changeset viewer.