Changeset 3638 in vbox for trunk/include/VBox/com
- Timestamp:
- Jul 16, 2007 1:13:59 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 22909
- Location:
- trunk/include/VBox/com
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/com/EventQueue.h
r3634 r3638 23 23 #define ___VBox_com_EventQueue_h 24 24 25 #if defined ( __WIN__)25 #if defined (RT_OS_WINDOWS) 26 26 #include <windows.h> 27 27 #else … … 84 84 private: 85 85 86 #if defined ( __WIN__)86 #if defined (RT_OS_WINDOWS) 87 87 88 88 DWORD mThreadId; -
trunk/include/VBox/com/Guid.h
r3634 r3638 23 23 #define ___VBox_com_Guid_h 24 24 25 #if !defined ( __WIN__)25 #if !defined (RT_OS_WINDOWS) 26 26 #include <nsMemory.h> 27 27 #endif … … 99 99 operator const RTUUID * const () const { return &uuid; } 100 100 101 #if defined( __WIN__)101 #if defined(RT_OS_WINDOWS) 102 102 103 103 // to assign instances to GUIDPARAMOUT parameters from within the interface method -
trunk/include/VBox/com/VirtualBox.h
r3634 r3638 37 37 // generated VirtualBox COM library definition file 38 38 #if !defined (VBOXCOM_NOINCLUDE) 39 #if defined ( __WIN__)39 #if defined (RT_OS_WINDOWS) 40 40 #include <VirtualBox.h> 41 41 #else -
trunk/include/VBox/com/defs.h
r3634 r3638 32 32 #if !defined (VBOX_WITH_XPCOM) 33 33 34 #if defined ( __WIN__)34 #if defined (RT_OS_WINDOWS) 35 35 36 36 // Windows COM … … 72 72 #define COM_IIDOF(I) _ATL_IIDOF (I) 73 73 74 #else // defined ( __WIN__)74 #else // defined (RT_OS_WINDOWS) 75 75 76 76 #error "VBOX_WITH_XPCOM is not defined!" 77 77 78 #endif // defined ( __WIN__)78 #endif // defined (RT_OS_WINDOWS) 79 79 80 80 #else // !defined (VBOX_WITH_XPCOM) … … 83 83 ///////////////////////////////////////////////////////////////////////////// 84 84 85 #if defined ( __OS2__)85 #if defined (RT_OS_OS2) 86 86 87 87 /* Make sure OS/2 Toolkit headers are pulled in to have … … 96 96 #undef TRUE 97 97 98 #endif // defined ( __OS2__)99 100 #if defined ( __DARWIN__)98 #endif // defined (RT_OS_OS2) 99 100 #if defined (RT_OS_DARWIN) 101 101 /* CFBase.h defines these*/ 102 102 # undef FALSE 103 103 # undef TRUE 104 #endif /* __DARWIN__*/104 #endif /* RT_OS_DARWIN */ 105 105 106 106 #include <nsID.h> … … 284 284 } 285 285 286 #endif // !defined ( __WIN__)286 #endif // !defined (RT_OS_WINDOWS) 287 287 288 288 /** -
trunk/include/VBox/com/string.h
r3634 r3638 23 23 #define ___VBox_com_string_h 24 24 25 #if !defined( __WIN__)25 #if !defined(RT_OS_WINDOWS) 26 26 #include <nsMemory.h> 27 27 #endif … … 296 296 if (str) 297 297 { 298 #if defined ( __WIN__)298 #if defined (RT_OS_WINDOWS) 299 299 ::RTStrFree (str); 300 300 #else … … 310 310 if (str && *str == 0) 311 311 { 312 #if defined ( __WIN__)312 #if defined (RT_OS_WINDOWS) 313 313 ::RTStrFree (str); 314 314 #else … … 330 330 if (aSize) 331 331 { 332 #if defined ( __WIN__)332 #if defined (RT_OS_WINDOWS) 333 333 str = (char *) ::RTMemTmpAlloc (aSize); 334 334 #else … … 426 426 { 427 427 if (rs) 428 #if defined ( __WIN__)428 #if defined (RT_OS_WINDOWS) 429 429 ::RTStrDupEx (&ls, rs); 430 430 #else … … 437 437 if (rs) 438 438 { 439 #if defined ( __WIN__)439 #if defined (RT_OS_WINDOWS) 440 440 ::RTStrUcs2ToUtf8 (&ls, (PRTUCS2) rs); 441 441 #else
Note:
See TracChangeset
for help on using the changeset viewer.