Merge from mainline
[official-gcc.git] / gcc / config / sol26.h
blobd5b7dda2a5febbb6bdf4ac71f624ac7e7ac7efeb
1 /* Operating system specific defines to be used when targeting GCC for any
2 Solaris 2 system up to Solaris 2.6.
3 Copyright 2004 Free Software Foundation, Inc.
5 This file is part of GCC.
7 GCC is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
10 any later version.
12 GCC is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GCC; see the file COPYING. If not, write to
19 the Free Software Foundation, 51 Franklin Street, Fifth Floor,
20 Boston, MA 02110-1301, USA. */
22 #undef CPP_SUBTARGET_SPEC
23 #define CPP_SUBTARGET_SPEC "\
24 %{pthreads|pthread:-D_REENTRANT -D_PTHREADS95} \
25 %{!pthreads:%{!pthread:%{threads:-D_REENTRANT -D_SOLARIS_THREADS}}} \
26 %{compat-bsd:-iwithprefixbefore ucbinclude -I/usr/ucbinclude} \