libstdc++
|
00001 // Specific definitions for GNU/Linux -*- C++ -*- 00002 00003 // Copyright (C) 2000, 2001, 2002, 2003, 2009, 2010, 2012 00004 // Free Software Foundation, Inc. 00005 // 00006 // This file is part of the GNU ISO C++ Library. This library is free 00007 // software; you can redistribute it and/or modify it under the 00008 // terms of the GNU General Public License as published by the 00009 // Free Software Foundation; either version 3, or (at your option) 00010 // any later version. 00011 00012 // This library is distributed in the hope that it will be useful, 00013 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 // GNU General Public License for more details. 00016 00017 // Under Section 7 of GPL version 3, you are granted additional 00018 // permissions described in the GCC Runtime Library Exception, version 00019 // 3.1, as published by the Free Software Foundation. 00020 00021 // You should have received a copy of the GNU General Public License and 00022 // a copy of the GCC Runtime Library Exception along with this program; 00023 // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see 00024 // <http://www.gnu.org/licenses/>. 00025 00026 /** @file bits/os_defines.h 00027 * This is an internal header file, included by other library headers. 00028 * Do not attempt to use it directly. @headername{iosfwd} 00029 */ 00030 00031 #ifndef _GLIBCXX_OS_DEFINES 00032 #define _GLIBCXX_OS_DEFINES 1 00033 00034 // System-specific #define, typedefs, corrections, etc, go here. This 00035 // file will come before all others. 00036 00037 // This keeps isanum, et al from being propagated as macros. 00038 #define __NO_CTYPE 1 00039 00040 #include <features.h> 00041 00042 // Provide a declaration for the possibly deprecated gets function, as 00043 // glibc 2.15 and later does not declare gets for ISO C11 when 00044 // __GNU_SOURCE is defined. 00045 #if __GLIBC_PREREQ(2,15) && defined(_GNU_SOURCE) 00046 # undef _GLIBCXX_HAVE_GETS 00047 #endif 00048 00049 #endif