VirtualBox

Changeset 99802 in vbox for trunk/include/iprt/nocrt


Ignore:
Timestamp:
May 16, 2023 12:05:16 AM (22 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
157425
Message:

*: Adjustments necessary for dropping -Zc:wchar_t- on windows and instead let the C++ compiler use the native wchar_t type.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/nocrt/limits.h

    r98103 r99802  
    5454#endif
    5555
     56#if !defined(WCHAR_MIN)
     57# if defined(RT_OS_WINDOWS)
     58#  define WCHAR_MIN     0
     59# endif
     60#endif
     61#if !defined(WCHAR_MAX)
     62# if defined(RT_OS_WINDOWS)
     63#  define WCHAR_MAX     0xffff
     64# endif
     65#endif
     66/** @todo Define WCHAR_MIN+WCHAR_MAX on non-windows */
     67
    5668#define WORD_BIT        16
    5769#define USHRT_MAX       0xffff
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