libstdc++
os_defines.h
Go to the documentation of this file.
1
// Specific definitions for GNU/Linux -*- C++ -*-
2
3
// Copyright (C) 2000, 2001, 2002, 2003, 2009, 2010, 2012
4
// Free Software Foundation, Inc.
5
//
6
// This file is part of the GNU ISO C++ Library. This library is free
7
// software; you can redistribute it and/or modify it under the
8
// terms of the GNU General Public License as published by the
9
// Free Software Foundation; either version 3, or (at your option)
10
// any later version.
11
12
// This library 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.
16
17
// Under Section 7 of GPL version 3, you are granted additional
18
// permissions described in the GCC Runtime Library Exception, version
19
// 3.1, as published by the Free Software Foundation.
20
21
// You should have received a copy of the GNU General Public License and
22
// a copy of the GCC Runtime Library Exception along with this program;
23
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
24
// <http://www.gnu.org/licenses/>.
25
26
/** @file bits/os_defines.h
27
* This is an internal header file, included by other library headers.
28
* Do not attempt to use it directly. @headername{iosfwd}
29
*/
30
31
#ifndef _GLIBCXX_OS_DEFINES
32
#define _GLIBCXX_OS_DEFINES 1
33
34
// System-specific #define, typedefs, corrections, etc, go here. This
35
// file will come before all others.
36
37
// This keeps isanum, et al from being propagated as macros.
38
#define __NO_CTYPE 1
39
40
#include <features.h>
41
42
// Provide a declaration for the possibly deprecated gets function, as
43
// glibc 2.15 and later does not declare gets for ISO C11 when
44
// __GNU_SOURCE is defined.
45
#if __GLIBC_PREREQ(2,15) && defined(_GNU_SOURCE)
46
# undef _GLIBCXX_HAVE_GETS
47
#endif
48
49
#endif
include
x86_64-unknown-linux-gnu
bits
os_defines.h
Generated by
1.8.6