mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0027960: Configuration - fix compilation of OSD_Directory with MinGW-w64
Check _NATIVE_WCHAR_T_DEFINED only within _MSC_VER since it is msvc-specific.
This commit is contained in:
@@ -99,7 +99,7 @@ public:
|
||||
//! Otherwise, creates UTF-8 unicode string.
|
||||
Standard_EXPORT TCollection_AsciiString(const TCollection_ExtendedString& astring, const Standard_Character replaceNonAscii = 0);
|
||||
|
||||
#if !defined(_WIN32) || defined(_NATIVE_WCHAR_T_DEFINED)
|
||||
#if !defined(_MSC_VER) || defined(_NATIVE_WCHAR_T_DEFINED)
|
||||
//! Initialize UTF-8 Unicode string from wide-char string considering it as Unicode string
|
||||
//! (the size of wide char is a platform-dependent - e.g. on Windows wchar_t is UTF-16).
|
||||
//!
|
||||
|
@@ -73,7 +73,7 @@ public:
|
||||
//! Creation by converting an ExtString to an extended string.
|
||||
Standard_EXPORT TCollection_ExtendedString(const Standard_ExtString astring);
|
||||
|
||||
#if !defined(_WIN32) || defined(_NATIVE_WCHAR_T_DEFINED)
|
||||
#if !defined(_MSC_VER) || defined(_NATIVE_WCHAR_T_DEFINED)
|
||||
//! Initialize from wide-char string considering it as Unicode string
|
||||
//! (the size of wide char is a platform-dependent - e.g. on Windows wchar_t is UTF-16).
|
||||
//!
|
||||
|
Reference in New Issue
Block a user