< prev index next >
src/jdk.security.auth/unix/native/libjaas/Unix.c
Print this page
rev 59383 : [mq]: final
*** 1,7 ****
/*
! * Copyright (c) 2000, 2018, 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, 2020, 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
*** 30,43 ****
#include <sys/types.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
- /* For POSIX-compliant getpwuid_r on Solaris */
- #if defined(__solaris__)
- #define _POSIX_PTHREAD_SEMANTICS
- #endif
#include <pwd.h>
/*
* Declare library specific JNI_Onload entry if static build
*/
--- 30,39 ----
< prev index next >