Remove checks for ancient gcc/MinGW versions.
Don't test for wxUSE_NORLANDER_HEADERS, this is always true since many, many years. Remove tests for gcc version < 3.3, notably 2.95: the minimal supported gcc version is 3.4. Closes #15727. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -372,14 +372,7 @@ bool wxRegKey::GetKeyInfo(size_t *pnSubKeys,
|
||||
|
||||
#define REG_PARAM(name) &dw##name
|
||||
#else // Win32
|
||||
// Old gcc headers incorrectly prototype RegQueryInfoKey() as taking
|
||||
// size_t but normally we need a cast, even when sizeof(size_t) is the same
|
||||
// as sizeof(DWORD).
|
||||
#if defined(__GNUWIN32_OLD__) && !defined(__CYGWIN10__)
|
||||
#define REG_PARAM(name) pn##name
|
||||
#else
|
||||
#define REG_PARAM(name) (LPDWORD)(pn##name)
|
||||
#endif
|
||||
#define REG_PARAM(name) (LPDWORD)(pn##name)
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user