Hi Geoffrey, It's defined in e_os.h because it's been deprecated in Win8. Microsoft wants you to use GetVersionEx() or VerifyVersionInfo(). Part of their plot to convince us old-timers that the world is no longer flat and that COM is actually a reasonable way to write code... Next thing they will tell us will probably be that the earth is no longer the center of the universe.
-mike On Thu, Apr 10, 2014 at 1:52 AM, Thomas J. Hruska < shineli...@shininglightpro.com> wrote: > On 4/9/2014 8:03 PM, Jeremy Farrell wrote: > >> Googling "check_winnt" suggests openssl/e_os.h. >> > > findstr /sic:"check_winnt" * > > Is, IMO, easier and more informative than using Google. Results in: > > apps\apps.c: if (check_winnt()) > crypto\bio\bss_log.c: if (check_winnt()) > crypto\cryptlib.c: if (check_winnt() && OPENSSL_isservice() > 0) > crypto\rand\rand_win.c: if (check_winnt() && OPENSSL_isservice()>0) > e_os.h:# define check_winnt() (1) > e_os.h:# define check_winnt() (GetVersion() < 0x80000000) > > Used four times, has two #defines. > > -- > Thomas Hruska > Shining Light Productions > > Home of BMP2AVI and Win32 OpenSSL. > http://www.slproweb.com/ > > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager majord...@openssl.org >