From 6123f4d6da6fab7d07991b6d8770385016745f93 Mon Sep 17 00:00:00 2001 From: Andrew Haley Date: Sat, 27 Nov 2004 12:37:32 +0000 Subject: 2004-11-27 Andrew Haley * link.cc (ensure_class_linked): Conditionally compile _Jv_IsInterpretedClass on INTERPRETER. (print_class_loaded): Likewise. (wait_for_state): Likewise. * include/jvm.h (ROUND): Move to here from include/java-interp.h. * include/java-interp.h (ROUND): Remove. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@91375 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/include/jvm.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libjava/include/jvm.h') diff --git a/libjava/include/jvm.h b/libjava/include/jvm.h index a3d06e7b09f..ff2c9b1ec87 100644 --- a/libjava/include/jvm.h +++ b/libjava/include/jvm.h @@ -555,4 +555,7 @@ extern void (*_Jv_JVMPI_Notify_THREAD_START) (JVMPI_Event *event); extern void (*_Jv_JVMPI_Notify_THREAD_END) (JVMPI_Event *event); #endif +/* FIXME: this should really be defined in some more generic place */ +#define ROUND(V, A) (((((unsigned) (V))-1) | ((A)-1))+1) + #endif /* __JAVA_JVM_H__ */ -- cgit v1.2.3