2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 <2019> 2020 2021 2022 2023 2024 2025 | Index | 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 <2019> 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | _WIN32_WINNT defines in EPICS base |
From: | Freddie Akeroyd - UKRI STFC via Core-talk <[email protected]> |
To: | "EPICS core-talk ([email protected])" <[email protected]> |
Date: | Wed, 15 May 2019 10:28:52 +0000 |
Hi, I was recently compiling EPICS base 3.15 for an earlier windows version from Windows 10 and had a compile error with the WIN32 base implementation of SetThreadName.cpp. The file always sets _WIN32_WINNT to 0x400 (Specifying Windows NT
4.0, the comment says it is dropping support for W95!) which then conflicted with my setting of NTDDI_VERSION. The _WIN32_WINNT macro is also set to 0x400 in osdMutex.c and osdThread.c but in these files it is only set if not otherwise defined externally.
A similar check for an existing definition in SetThreadName.cpp would avoid my compile issue, but as Windows 95 and NT 4.0 are long in the past I wonder if removing these redefinitions of _WIN32_WINNT from base would now be appropriate
Regards,
|