< prev index next >
src/java.base/unix/native/libjava/jlong_md.h
Print this page
rev 59105 : imported patch corelibs
*** 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 >