OSDN Git Service

2006-08-02 Andreas Tobler <a.tobler@schweiz.ch>
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Aug 2006 20:18:05 +0000 (20:18 +0000)
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Aug 2006 20:18:05 +0000 (20:18 +0000)
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

libjava/ChangeLog
libjava/include/no-threads.h

index 69916d9..a77c1c7 100644 (file)
@@ -1,3 +1,8 @@
+2006-08-02  Andreas Tobler  <a.tobler@schweiz.ch>
+
+       PR libgcj/28546
+       * include/no-threads.h: Declare _Jv_Thread_t as empty class.
+
 2006-08-01  Andreas Tobler  <a.tobler@schweiz.ch>
 
        * gnu/classpath/natSystemProperties.cc: Add additional check for
 2006-08-01  Andreas Tobler  <a.tobler@schweiz.ch>
 
        * gnu/classpath/natSystemProperties.cc: Add additional check for
index 638ecf1..a598df3 100644 (file)
@@ -1,7 +1,7 @@
 // -*- c++ -*-
 // no-threads.h - Defines for using no threads.
 
 // -*- 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.
 
 
    This file is part of libgcj.
 
@@ -25,9 +25,13 @@ details.  */
 
 typedef int _Jv_ConditionVariable_t;
 typedef int _Jv_Mutex_t;
 
 typedef int _Jv_ConditionVariable_t;
 typedef int _Jv_Mutex_t;
-typedef int _Jv_Thread_t;
 typedef void _Jv_ThreadStartFunc (java::lang::Thread *);
 
 typedef void _Jv_ThreadStartFunc (java::lang::Thread *);
 
+//
+// Declarations
+//
+
+class _Jv_Thread_t { };
 
 //
 // Condition variables.
 
 //
 // Condition variables.