gthr-aix.h revision 90075
1169689Skan/* Threads compatibility routines for libgcc2 and libobjc.  */
2251212Spfg/* Compile this one with gcc.  */
3169689Skan/* Copyright (C) 2000 Free Software Foundation, Inc.
4169689Skan
5169689SkanThis file is part of GCC.
6169689Skan
7169689SkanGCC is free software; you can redistribute it and/or modify it under
8169689Skanthe terms of the GNU General Public License as published by the Free
9169689SkanSoftware Foundation; either version 2, or (at your option) any later
10169689Skanversion.
11169689Skan
12169689SkanGCC is distributed in the hope that it will be useful, but WITHOUT ANY
13169689SkanWARRANTY; without even the implied warranty of MERCHANTABILITY or
14169689SkanFITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15169689Skanfor more details.
16169689Skan
17169689SkanYou should have received a copy of the GNU General Public License
18169689Skanalong with GCC; see the file COPYING.  If not, write to the Free
19169689SkanSoftware Foundation, 59 Temple Place - Suite 330, Boston, MA
20169689Skan02111-1307, USA.  */
21169689Skan
22169689Skan/* As a special exception, if you link this library with other files,
23169689Skan   some of which are compiled with GCC, to produce an executable,
24169689Skan   this library does not by itself cause the resulting executable
25169689Skan   to be covered by the GNU General Public License.
26169689Skan   This exception does not however invalidate any other reasons why
27169689Skan   the executable file might be covered by the GNU General Public License.  */
28169689Skan
29169689Skan#ifndef GCC_GTHR_AIX_H
30169689Skan#define GCC_GTHR_AIX_H
31169689Skan
32169689Skan#ifdef _THREAD_SAFE
33169689Skan#include "gthr-posix.h"
34169689Skan#else
35169689Skan#include "gthr-single.h"
36169689Skan#endif
37169689Skan
38169689Skan#endif /* GCC_GTHR_AIX_H */
39169689Skan