summaryrefslogtreecommitdiff
path: root/libjava/include
diff options
context:
space:
mode:
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2006-08-02 20:18:05 +0000
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2006-08-02 20:18:05 +0000
commit64460b363aba44f641b6adb4ede0079a0c84b154 (patch)
tree934d6accd4a180c7ccc99b4753a072f0e3559c61 /libjava/include
parentc1272bf5858eea55fb433a530f9922b0743b3e3f (diff)
downloadgcc-64460b363aba44f641b6adb4ede0079a0c84b154.tar.gz
2006-08-02 Andreas Tobler <a.tobler@schweiz.ch>
PR libgcj/28546 * include/no-threads.h: Declare _Jv_Thread_t as empty class. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115883 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/include')
-rw-r--r--libjava/include/no-threads.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/libjava/include/no-threads.h b/libjava/include/no-threads.h
index 638ecf1abe2..a598df3e87a 100644
--- a/libjava/include/no-threads.h
+++ b/libjava/include/no-threads.h
@@ -1,7 +1,7 @@
// -*- c++ -*-
// no-threads.h - Defines for using no threads.
-/* Copyright (C) 1998, 1999, 2004 Free Software Foundation
+/* Copyright (C) 1998, 1999, 2004, 2006 Free Software Foundation
This file is part of libgcj.
@@ -25,9 +25,13 @@ details. */
typedef int _Jv_ConditionVariable_t;
typedef int _Jv_Mutex_t;
-typedef int _Jv_Thread_t;
typedef void _Jv_ThreadStartFunc (java::lang::Thread *);
+//
+// Declarations
+//
+
+class _Jv_Thread_t { };
//
// Condition variables.