re PR libgcj/28546 (./java/lang/Thread.h:31: error: using typedef-name '_Jv_Thread_t...
authorAndreas Tobler <a.tobler@schweiz.ch>
Wed, 2 Aug 2006 20:18:05 +0000 (22:18 +0200)
committerAndreas Tobler <andreast@gcc.gnu.org>
Wed, 2 Aug 2006 20:18:05 +0000 (22:18 +0200)
2006-08-02  Andreas Tobler  <a.tobler@schweiz.ch>

PR libgcj/28546
* include/no-threads.h: Declare _Jv_Thread_t as empty class.

From-SVN: r115883

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

index 69916d9ee1a6409717b25d71f27d66cbe383d63c..a77c1c764f1bcf16fb80198905c7ae332c90ac3f 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
index 638ecf1abe2f46c2a0f76b04d275066b3719577c..a598df3e87a88b5fd655cda861a4f0da5d854cf4 100644 (file)
@@ -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.