Fix wxUSING_VC_CRT_IO definition in the tests when not using MinGW.
The condition was always true for non-MinGW compilers because of a missing pair of parentheses, do add them. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -38,7 +38,8 @@
|
|||||||
// -Wundef if it involves an operation with undefined __MINGW_FEATURES__ so
|
// -Wundef if it involves an operation with undefined __MINGW_FEATURES__ so
|
||||||
// test for the latter too to avoid it.
|
// test for the latter too to avoid it.
|
||||||
#if defined(__VISUALC__) || \
|
#if defined(__VISUALC__) || \
|
||||||
(defined(__MINGW32__) && !defined(__MINGW_FEATURES__) || !__USE_MINGW_ANSI_STDIO)
|
(defined(__MINGW32__) && \
|
||||||
|
(!defined(__MINGW_FEATURES__) || !__USE_MINGW_ANSI_STDIO))
|
||||||
#define wxUSING_VC_CRT_IO
|
#define wxUSING_VC_CRT_IO
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user