From: Vadim Zeitlin Date: Sun, 3 Oct 2010 22:23:57 +0000 (+0000) Subject: Fix wxUSING_VC_CRT_IO definition in the tests when not using MinGW. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c4cb46c1eb6384aa4a6b7e78f2550b4048dc4cba 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 --- diff --git a/tests/testprec.h b/tests/testprec.h index 7724b19591..e597e6b9ac 100644 --- a/tests/testprec.h +++ b/tests/testprec.h @@ -38,7 +38,8 @@ // -Wundef if it involves an operation with undefined __MINGW_FEATURES__ so // test for the latter too to avoid it. #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 #endif