< prev index next >

src/jdk.jdwp.agent/share/native/libjdwp/util.h

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) 1998, 2014, 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) 1998, 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
*** 276,297 **** * Additional modifiers not defined as such in the JVM spec */ #define MOD_SYNTHETIC 0xf0000000 /* not in source code */ /* - * jlong conversion macros - */ - #define jlong_zero ((jlong) 0) - #define jlong_one ((jlong) 1) - - #define jlong_to_ptr(a) ((void*)(intptr_t)(a)) - #define ptr_to_jlong(a) ((jlong)(intptr_t)(a)) - #define jint_to_jlong(a) ((jlong)(a)) - #define jlong_to_jint(a) ((jint)(a)) - - - /* * util funcs */ void util_initialize(JNIEnv *env); void util_reset(void); --- 276,285 ----
< prev index next >