mirror of
https://github.com/openssl/openssl.git
synced 2025-01-21 09:23:33 +08:00
e_os.h: bump minimal _WIN32_WINNT.
Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
parent
bf1605518a
commit
0ee05b736a
20
e_os.h
20
e_os.h
@ -221,18 +221,16 @@ extern "C" {
|
|||||||
/*
|
/*
|
||||||
* Defining _WIN32_WINNT here in e_os.h implies certain "discipline."
|
* Defining _WIN32_WINNT here in e_os.h implies certain "discipline."
|
||||||
* Most notably we ought to check for availability of each specific
|
* Most notably we ought to check for availability of each specific
|
||||||
* routine with GetProcAddress() and/or guard NT-specific calls with
|
* routine that was introduced after denoted _WIN32_WINNT with
|
||||||
* GetVersion() < 0x80000000. One can argue that in latter "or" case
|
* GetProcAddress(). Normally newer functions are masked with higher
|
||||||
* we ought to /DELAYLOAD some .DLLs in order to protect ourselves
|
* _WIN32_WINNT in SDK headers. So that if you wish to use them in
|
||||||
* against run-time link errors. This doesn't seem to be necessary,
|
* some module, you'd need to override _WIN32_WINNT definition in
|
||||||
* because it turned out that already Windows 95, first non-NT Win32
|
* the target module in order to "reach for" prototypes, but replace
|
||||||
* implementation, is equipped with at least NT 3.51 stubs, dummy
|
* calls to new functions with indirect calls. Alternatively it
|
||||||
* routines with same name, but which do nothing. Meaning that it's
|
* might be possible to achieve the goal by /DELAYLOAD-ing .DLLs
|
||||||
* apparently sufficient to guard "vanilla" NT calls with GetVersion
|
* and check for current OS version instead.
|
||||||
* alone, while NT 4.0 and above interfaces ought to be linked with
|
|
||||||
* GetProcAddress at run-time.
|
|
||||||
*/
|
*/
|
||||||
# define _WIN32_WINNT 0x0400
|
# define _WIN32_WINNT 0x0501
|
||||||
# endif
|
# endif
|
||||||
# if !defined(OPENSSL_NO_SOCK) && (defined(_WIN32_WINNT) || defined(_WIN32_WCE))
|
# if !defined(OPENSSL_NO_SOCK) && (defined(_WIN32_WINNT) || defined(_WIN32_WCE))
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user