projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid Windows 8 Getversion deprecated errors.
[openssl.git]
/
apps
/
apps.c
diff --git
a/apps/apps.c
b/apps/apps.c
index 1096eee4cfaea7db8d6f061fb6fc32bb5a1d4cbf..8a6a9a29a7cd6721d65fb8a604a1cdf321e17b16 100644
(file)
--- a/
apps/apps.c
+++ b/
apps/apps.c
@@
-2841,7
+2841,7
@@
double app_tminterval(int stop,int usertime)
if (proc==NULL)
{
- if (
GetVersion() < 0x80000000
)
+ if (
check_winnt()
)
proc = OpenProcess(PROCESS_QUERY_INFORMATION,FALSE,
GetCurrentProcessId());
if (proc==NULL) proc = (HANDLE)-1;