VirtualBox

Ignore:
Timestamp:
Jun 20, 2007 10:26:49 PM (17 years ago)
Author:
vboxsync
Message:

Main: Made it build on OS/2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/VirtualBoxBase.cpp

    r2981 r3191  
    2020 */
    2121
     22#if !defined (VBOX_WITH_XPCOM)
    2223#if defined (__WIN__)
    2324#include <windows.h>
    2425#include <dbghelp.h>
    25 #else // !defined (__WIN__)
     26#endif
     27#else // !defined (VBOX_WITH_XPCOM)
    2628#include <nsIServiceManager.h>
    2729#include <nsIExceptionService.h>
    28 #endif
     30#endif // !defined (VBOX_WITH_XPCOM)
    2931
    3032#include "VirtualBoxBase.h"
     
    507509    AssertReturn (aLock, (void) 0);
    508510
    509 #if defined(__LINUX__) && defined(__GNUC__)
     511#if (defined(__LINUX__) || defined(__OS2__)) && defined(__GNUC__)
    510512
    511513    RTCritSectEnterDebug (aLock,
     
    570572    RTCritSectEnter (aLock);
    571573
    572 #endif // defined(__LINUX__)
     574#endif // defined(__LINUX__)...
    573575}
    574576
     
    671673        CheckComRCBreakRC (rc);
    672674
     675#if !defined (VBOX_WITH_XPCOM)
    673676#if defined (__WIN__)
    674677
     
    707710            rc = ::SetErrorInfo (0, err);
    708711
    709 #else // !defined (__WIN__)
     712#endif
     713#else // !defined (VBOX_WITH_XPCOM)
    710714
    711715        nsCOMPtr <nsIExceptionService> es;
     
    769773        }
    770774
    771 #endif // !defined (__WIN__)
     775#endif // !defined (VBOX_WITH_XPCOM)
    772776    }
    773777    while (0);
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