1281SN/A// Specific definitions for GNU/Linux  -*- C++ -*-
2281SN/A
3281SN/A// Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
4281SN/A//
5281SN/A// This file is part of the GNU ISO C++ Library.  This library is free
61113Sjoehw// software; you can redistribute it and/or modify it under the
71113Sjoehw// terms of the GNU General Public License as published by the
81113Sjoehw// Free Software Foundation; either version 2, or (at your option)
91113Sjoehw// any later version.
101113Sjoehw
111113Sjoehw// This library is distributed in the hope that it will be useful,
12281SN/A// but WITHOUT ANY WARRANTY; without even the implied warranty of
13281SN/A// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14281SN/A// GNU General Public License for more details.
15281SN/A
16281SN/A// You should have received a copy of the GNU General Public License along
17281SN/A// with this library; see the file COPYING.  If not, write to the Free
18281SN/A// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
19281SN/A// USA.
20281SN/A
21281SN/A// As a special exception, you may use this file as part of a free software
22281SN/A// library without restriction.  Specifically, if other files instantiate
23281SN/A// templates or use macros or inline functions from this file, or you compile
24281SN/A// this file and link it with other files to produce an executable, this
25281SN/A// file does not by itself cause the resulting executable to be covered by
26281SN/A// the GNU General Public License.  This exception does not however
27281SN/A// invalidate any other reasons why the executable file might be covered by
28281SN/A// the GNU General Public License.
29281SN/A
30281SN/A/** @file os_defines.h
31281SN/A *  This is an internal header file, included by other library headers.
32281SN/A *  You should not attempt to use it directly.
33281SN/A */
34281SN/A
35281SN/A#ifndef _GLIBCXX_OS_DEFINES
36281SN/A#define _GLIBCXX_OS_DEFINES 1
37281SN/A
38281SN/A// System-specific #define, typedefs, corrections, etc, go here.  This
39281SN/A// file will come before all others.
40281SN/A
41281SN/A// This keeps isanum, et al from being propagated as macros.
42281SN/A#define __NO_CTYPE 1
43281SN/A
44281SN/A#include <features.h>
45281SN/A
46281SN/A// We must not see the optimized string functions GNU libc defines.
47281SN/A#if defined __GLIBC__ && __GLIBC__ >= 2
48281SN/A#define __NO_STRING_INLINES
49281SN/A#endif
50281SN/A
51281SN/A#endif
52281SN/A