VirtualBox

Changeset 62013 in vbox for trunk


Ignore:
Timestamp:
Jul 4, 2016 3:54:28 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
108470
Message:

VBoxProxyStub.c: Include VBox/cdefs.h so VBOX_STRICT gets defined. Fixed fallout.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-all/win/VBoxProxyStub.c

    r60193 r62013  
    3131
    3232#include "VirtualBox.h"
     33#include <VBox/cdefs.h>                 /* for VBOX_STRICT */
    3334#include <VBox/log.h>
    3435#include <iprt/alloca.h>
     
    17021703DECLINLINE(bool) vbpsIsTypeLibIdToRemove(PRTUTF16 pwszTypeLibId)
    17031704{
     1705    AssertCompile(RT_ELEMENTS(g_apwszTypeLibIds) == 2);
    17041706#ifdef VBOX_STRICT
    17051707    static bool s_fDoneStrict = false;
     
    17081710    {
    17091711        Assert(RT_ELEMENTS(g_apwszTypeLibIds) == 2);
    1710         Assert(g_apwszTypeLibIds[0] == '{');
    1711         Assert(g_apwszTypeLibIds[1] == '{');
     1712        Assert(g_apwszTypeLibIds[0][0] == '{');
     1713        Assert(g_apwszTypeLibIds[1][0] == '{');
    17121714        Assert(RT_C_IS_XDIGIT(g_apwszTypeLibIds[0][1]));
    17131715        Assert(RT_C_IS_XDIGIT(g_apwszTypeLibIds[1][1]));
     
    17171719    }
    17181720#endif
    1719     AssertCompile(RT_ELEMENTS(g_apwszTypeLibIds) == 2);
    17201721
    17211722    /*
     
    17531754DECLINLINE(bool) vbpsIsProxyStubClsIdToRemove(PRTUTF16 pwszProxyStubId)
    17541755{
     1756    AssertCompile(RT_ELEMENTS(g_apwszProxyStubClsIds) == 2);
    17551757#ifdef VBOX_STRICT
    17561758    static bool s_fDoneStrict = false;
     
    17591761    {
    17601762        Assert(RT_ELEMENTS(g_apwszProxyStubClsIds) == 2);
    1761         Assert(g_apwszProxyStubClsIds[0] == '{');
    1762         Assert(g_apwszProxyStubClsIds[1] == '{');
     1763        Assert(g_apwszProxyStubClsIds[0][0] == '{');
     1764        Assert(g_apwszProxyStubClsIds[1][0] == '{');
    17631765        Assert(RT_C_IS_XDIGIT(g_apwszProxyStubClsIds[0][1]));
    17641766        Assert(RT_C_IS_XDIGIT(g_apwszProxyStubClsIds[1][1]));
     
    17681770    }
    17691771#endif
    1770     AssertCompile(RT_ELEMENTS(g_apwszProxyStubClsIds) == 2);
    17711772
    17721773    /*
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