winpthreads: do not allow Win9x support when minimal Windows version is Vista or higher
Pre-Vista and Win9x systems share many functions that may be missing and are
looked up at runtime. The higher the value of `WINPTHREADS_WINNT` macro
the fewer functions we need to lookup at runtime.
It makes very little sense to configure winpthreads with the minimal Windows
version being Vista or higher, and with Win9x support enabled at the same time.
Almost all functions that were added after XP are not available on Win9x systems
and would require a runtime check with such configuration.
To make runtime checks logic easier to maintain, only allow to enable Win9x
support when minimal Windows version is XP or lower. This allows us to neglect
Win9x when checking for function introduced in Windows Vista or higher.
Signed-off-by: Kirill Makurin <maiddaisuki@outlook.com>
Signed-off-by: LIU Hao <lh_mouse@126.com>
2 files changed