8285730: unify _WIN32_WINNT settings

Reviewed-by: dholmes, erikj, ihse, prr, alanb
This commit is contained in:
Matthias Baesken 2022-05-10 06:45:15 +00:00
parent bd6026c10c
commit 4fd79a6ad2
7 changed files with 8 additions and 31 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2002, 2014, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -23,11 +23,6 @@
* questions.
*/
/* Need to define this to get CAPI functions included */
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0400
#endif
#include <windows.h>
#include <wincrypt.h>
#include <jni.h>

View file

@ -23,11 +23,6 @@
* questions.
*/
/* Access APIs for WinXP and above */
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0501
#endif
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>

View file

@ -23,11 +23,6 @@
* questions.
*/
/* Access APIs for Windows Vista and above */
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0601
#endif
#include "jni.h"
#include "jni_util.h"