VirtualBox

Changeset 96442 in vbox for trunk/src/VBox/Runtime/r3/win


Ignore:
Timestamp:
Aug 23, 2022 2:12:35 PM (2 years ago)
Author:
vboxsync
Message:

IPRT: Split out the public init data into separate files and made it possible to check if IPRT is initialized w/o dragging in the init code. Added tweak to stream.cpp so it'll work w/o IPRT init in debug builds. bugref:10261

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/nocrt-startup-common-win.cpp

    r96407 r96442  
    5353
    5454#include "internal/compiler-vcc.h"
    55 
    56 
    57 /*********************************************************************************************************************************
    58 *   Global Variables                                                                                                             *
    59 *********************************************************************************************************************************/
    60 RT_C_DECLS_BEGIN
    61 DECL_HIDDEN_DATA(char)      g_szrtProcExePath[RTPATH_MAX] = "Unknown.exe";
    62 DECL_HIDDEN_DATA(size_t)    g_cchrtProcExePath = 11;
    63 DECL_HIDDEN_DATA(size_t)    g_cchrtProcExeDir = 0;
    64 DECL_HIDDEN_DATA(size_t)    g_offrtProcName = 0;
    65 RT_C_DECLS_END
     55#include "internal/process.h"
    6656
    6757
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