Do define __VISUALC__ when using Intel compiler under Windows.
This undoes r74888, r74913 and r74969 because all of them were still not enough to make ICC build work correctly. So instead of trying to find all the places where we need to test for __INTELC__ in addition to __VISUALC__, just revert to defining __VISUALC__ for ICC under Windows as it uses its CRT anyhow and in the vast majority of cases we are actually testing for the CRT and not the compiler anyhow. Closes #15359. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -165,7 +165,7 @@ WXDLLIMPEXP_BASE void *calloc( size_t num, size_t size );
|
||||
|
||||
/* Almost all compilers have strdup(), but VC++ and MinGW call it _strdup().
|
||||
And it's not available in MinGW strict ANSI mode nor under Windows CE. */
|
||||
#if (defined(__VISUALC__) && __VISUALC__ >= 1400) || (defined(_MSC_VER) && _MSC_VER >= 1400 && defined (__INTELC__))
|
||||
#if (defined(__VISUALC__) && __VISUALC__ >= 1400)
|
||||
#define wxCRT_StrdupA _strdup
|
||||
#elif defined(__MINGW32__)
|
||||
#ifndef __WX_STRICT_ANSI_GCC__
|
||||
|
Reference in New Issue
Block a user