From 006d133dfe0b0bedae5a3b471abbb6b3bdeed8e6 Mon Sep 17 00:00:00 2001 From: Andreas Tobler Date: Wed, 2 Aug 2006 22:18:05 +0200 Subject: re PR libgcj/28546 (./java/lang/Thread.h:31: error: using typedef-name '_Jv_Thread_t' after 'class') 2006-08-02 Andreas Tobler PR libgcj/28546 * include/no-threads.h: Declare _Jv_Thread_t as empty class. From-SVN: r115883 --- libjava/include/no-threads.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'libjava/include') 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. -- cgit v1.2.1