< prev index next >

src/java.base/unix/native/libjava/jlong_md.h

Print this page
rev 59383 : [mq]: final

*** 1,7 **** /* ! * Copyright (c) 1997, 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 --- 1,7 ---- /* ! * Copyright (c) 1997, 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
*** 21,32 **** * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ ! #ifndef _SOLARIS_JLONG_MD_H_ ! #define _SOLARIS_JLONG_MD_H_ /* Make sure ptrdiff_t is defined */ #include <stddef.h> #include <stdint.h> /* For uintptr_t */ --- 21,32 ---- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ ! #ifndef _UNIX_JLONG_MD_H_ ! #define _UNIX_JLONG_MD_H_ /* Make sure ptrdiff_t is defined */ #include <stddef.h> #include <stdint.h> /* For uintptr_t */
*** 95,100 **** #define ptrdiff_to_jlong(a) ((jlong)(a)) #define jlong_to_size(a) ((size_t)(a)) #define size_to_jlong(a) ((jlong)(a)) #define long_to_jlong(a) ((jlong)(a)) ! #endif /* !_SOLARIS_JLONG_MD_H_ */ --- 95,100 ---- #define ptrdiff_to_jlong(a) ((jlong)(a)) #define jlong_to_size(a) ((size_t)(a)) #define size_to_jlong(a) ((jlong)(a)) #define long_to_jlong(a) ((jlong)(a)) ! #endif /* !_UNIX_JLONG_MD_H_ */
< prev index next >