< prev index next >
src/java.security.jgss/windows/native/libw2k_lsa_auth/NativeCreds.c
Print this page
rev 12879 : 8136556: Add the ability to perform static builds of MacOSX x64 binaries
Reviewed-by: ihse, bdelsart, gadams, lfoltan, rriggs, hseigel, twisti
*** 1,7 ****
/*
! * Copyright (c) 2000, 2013, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2000, 2015, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 40,49 ****
--- 40,50 ----
#include <ntsecapi.h>
#include <dsgetdc.h>
#include <lmcons.h>
#include <lmapibuf.h>
#include <jni.h>
+ #include "jni_util.h"
#include <winsock.h>
#undef LSA_SUCCESS
#define LSA_SUCCESS(Status) ((Status) >= 0)
#define EXIT_FAILURE -1 // mdu
*** 105,115 ****
/*
* Class: sun_security_krb5_KrbCreds
* Method: JNI_OnLoad
*/
! JNIEXPORT jint JNICALL JNI_OnLoad(
JavaVM *jvm,
void *reserved) {
jclass cls;
JNIEnv *env;
--- 106,116 ----
/*
* Class: sun_security_krb5_KrbCreds
* Method: JNI_OnLoad
*/
! JNIEXPORT jint JNICALL DEF_JNI_OnLoad(
JavaVM *jvm,
void *reserved) {
jclass cls;
JNIEnv *env;
*** 327,337 ****
/*
* Class: sun_security_jgss_KrbCreds
* Method: JNI_OnUnload
*/
! JNIEXPORT void JNICALL JNI_OnUnload(
JavaVM *jvm,
void *reserved) {
JNIEnv *env;
--- 328,338 ----
/*
* Class: sun_security_jgss_KrbCreds
* Method: JNI_OnUnload
*/
! JNIEXPORT void JNICALL DEF_JNI_OnUnload(
JavaVM *jvm,
void *reserved) {
JNIEnv *env;
< prev index next >