VirtualBox

Changeset 58177 in vbox for trunk/src


Ignore:
Timestamp:
Oct 12, 2015 11:19:10 AM (9 years ago)
Author:
vboxsync
Message:

iprt/cdefs.h,VBoxGuestR3LibAdditions.cpp: Added RT_LSTR for prefixing defined string constants with 'L'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibAdditions.cpp

    r58176 r58177  
    4040#ifdef RT_OS_WINDOWS
    4141
    42 # define WIDE_STR_2(a) L##a
    43 # define WIDE_STR(a) WIDE_STR_2(a)
    44 
    4542/**
    4643 * Opens the "VirtualBox Guest Additions" registry key.
     
    5855    static PCRTUTF16 s_apwszKeys[] =
    5956    {
    60         L"SOFTWARE\\" WIDE_STR(VBOX_VENDOR_SHORT) L"\\VirtualBox Guest Additions",
     57        L"SOFTWARE\\" RT_LSTR(VBOX_VENDOR_SHORT) L"\\VirtualBox Guest Additions",
    6158#ifdef RT_ARCH_AMD64
    62         L"SOFTWARE\\Wow6432Node\\" WIDE_STR(VBOX_VENDOR_SHORT) L"\\VirtualBox Guest Additions",
     59        L"SOFTWARE\\Wow6432Node\\" RT_LSTR(VBOX_VENDOR_SHORT) L"\\VirtualBox Guest Additions",
    6360#endif
    6461        L"SOFTWARE\\Sun\\VirtualBox Guest Additions",
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