re PR libgcj/28546 (./java/lang/Thread.h:31: error: using typedef-name '_Jv_Thread_t' after 'class')

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
This commit is contained in:
Andreas Tobler 2006-08-02 22:18:05 +02:00 committed by Andreas Tobler
parent 73c9fbdf8c
commit 006d133dfe
2 changed files with 11 additions and 2 deletions

View 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

View 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.