aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/javaop.h
diff options
context:
space:
mode:
authorPer Bothner <bothner@cygnus.com>1998-11-24 13:16:53 +0000
committerPer Bothner <bothner@gcc.gnu.org>1998-11-24 05:16:53 -0800
commit818347b4d66fa9f9af05751b5880f54830cc4c2e (patch)
treec6ca5991b1e589d6e192830bf9412d119216797f /gcc/java/javaop.h
parent6466fce8c91171b28704ae14756b56e07153de86 (diff)
downloadgcc-818347b4d66fa9f9af05751b5880f54830cc4c2e.zip
gcc-818347b4d66fa9f9af05751b5880f54830cc4c2e.tar.gz
gcc-818347b4d66fa9f9af05751b5880f54830cc4c2e.tar.bz2
expr.c (java_lang_expand_expr): Add missing emit_queue.
� * expr.c (java_lang_expand_expr): Add missing emit_queue. * javaop.h (int8): Removed - not used. (jbyte): Redefine portably with correct signedness. From-SVN: r23832
Diffstat (limited to 'gcc/java/javaop.h')
-rw-r--r--gcc/java/javaop.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/java/javaop.h b/gcc/java/javaop.h
index f4ae050..b00fd0a 100644
--- a/gcc/java/javaop.h
+++ b/gcc/java/javaop.h
@@ -26,7 +26,6 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#ifndef JAVAOP_H
#define JAVAOP_H
-typedef char int8;
typedef unsigned char uint8;
#ifndef int16
#define int16 short
@@ -48,7 +47,11 @@ typedef unsigned int32 uint32;
#endif
typedef uint16 jchar;
-typedef int8 jbyte;
+#ifdef __STDC__
+typedef signed char jbyte;
+#else
+typedef char jbyte;
+#endif
typedef int16 jshort;
typedef int32 jint;
typedef int64 jlong;