Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include
File: features.h
/* Copyright (C) 1991-2018 Free Software Foundation, Inc.
[0] Fix | Delete
This file is part of the GNU C Library.
[1] Fix | Delete
[2] Fix | Delete
The GNU C Library is free software; you can redistribute it and/or
[3] Fix | Delete
modify it under the terms of the GNU Lesser General Public
[4] Fix | Delete
License as published by the Free Software Foundation; either
[5] Fix | Delete
version 2.1 of the License, or (at your option) any later version.
[6] Fix | Delete
[7] Fix | Delete
The GNU C Library is distributed in the hope that it will be useful,
[8] Fix | Delete
but WITHOUT ANY WARRANTY; without even the implied warranty of
[9] Fix | Delete
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
[10] Fix | Delete
Lesser General Public License for more details.
[11] Fix | Delete
[12] Fix | Delete
You should have received a copy of the GNU Lesser General Public
[13] Fix | Delete
License along with the GNU C Library; if not, see
[14] Fix | Delete
<http://www.gnu.org/licenses/>. */
[15] Fix | Delete
[16] Fix | Delete
#ifndef _FEATURES_H
[17] Fix | Delete
#define _FEATURES_H 1
[18] Fix | Delete
[19] Fix | Delete
/* These are defined by the user (or the compiler)
[20] Fix | Delete
to specify the desired environment:
[21] Fix | Delete
[22] Fix | Delete
__STRICT_ANSI__ ISO Standard C.
[23] Fix | Delete
_ISOC99_SOURCE Extensions to ISO C89 from ISO C99.
[24] Fix | Delete
_ISOC11_SOURCE Extensions to ISO C99 from ISO C11.
[25] Fix | Delete
__STDC_WANT_LIB_EXT2__
[26] Fix | Delete
Extensions to ISO C99 from TR 27431-2:2010.
[27] Fix | Delete
__STDC_WANT_IEC_60559_BFP_EXT__
[28] Fix | Delete
Extensions to ISO C11 from TS 18661-1:2014.
[29] Fix | Delete
__STDC_WANT_IEC_60559_FUNCS_EXT__
[30] Fix | Delete
Extensions to ISO C11 from TS 18661-4:2015.
[31] Fix | Delete
__STDC_WANT_IEC_60559_TYPES_EXT__
[32] Fix | Delete
Extensions to ISO C11 from TS 18661-3:2015.
[33] Fix | Delete
[34] Fix | Delete
_POSIX_SOURCE IEEE Std 1003.1.
[35] Fix | Delete
_POSIX_C_SOURCE If ==1, like _POSIX_SOURCE; if >=2 add IEEE Std 1003.2;
[36] Fix | Delete
if >=199309L, add IEEE Std 1003.1b-1993;
[37] Fix | Delete
if >=199506L, add IEEE Std 1003.1c-1995;
[38] Fix | Delete
if >=200112L, all of IEEE 1003.1-2004
[39] Fix | Delete
if >=200809L, all of IEEE 1003.1-2008
[40] Fix | Delete
_XOPEN_SOURCE Includes POSIX and XPG things. Set to 500 if
[41] Fix | Delete
Single Unix conformance is wanted, to 600 for the
[42] Fix | Delete
sixth revision, to 700 for the seventh revision.
[43] Fix | Delete
_XOPEN_SOURCE_EXTENDED XPG things and X/Open Unix extensions.
[44] Fix | Delete
_LARGEFILE_SOURCE Some more functions for correct standard I/O.
[45] Fix | Delete
_LARGEFILE64_SOURCE Additional functionality from LFS for large files.
[46] Fix | Delete
_FILE_OFFSET_BITS=N Select default filesystem interface.
[47] Fix | Delete
_ATFILE_SOURCE Additional *at interfaces.
[48] Fix | Delete
_GNU_SOURCE All of the above, plus GNU extensions.
[49] Fix | Delete
_DEFAULT_SOURCE The default set of features (taking precedence over
[50] Fix | Delete
__STRICT_ANSI__).
[51] Fix | Delete
[52] Fix | Delete
_FORTIFY_SOURCE Add security hardening to many library functions.
[53] Fix | Delete
Set to 1 or 2; 2 performs stricter checks than 1.
[54] Fix | Delete
[55] Fix | Delete
_REENTRANT, _THREAD_SAFE
[56] Fix | Delete
Obsolete; equivalent to _POSIX_C_SOURCE=199506L.
[57] Fix | Delete
[58] Fix | Delete
The `-ansi' switch to the GNU C compiler, and standards conformance
[59] Fix | Delete
options such as `-std=c99', define __STRICT_ANSI__. If none of
[60] Fix | Delete
these are defined, or if _DEFAULT_SOURCE is defined, the default is
[61] Fix | Delete
to have _POSIX_SOURCE set to one and _POSIX_C_SOURCE set to
[62] Fix | Delete
200809L, as well as enabling miscellaneous functions from BSD and
[63] Fix | Delete
SVID. If more than one of these are defined, they accumulate. For
[64] Fix | Delete
example __STRICT_ANSI__, _POSIX_SOURCE and _POSIX_C_SOURCE together
[65] Fix | Delete
give you ISO C, 1003.1, and 1003.2, but nothing else.
[66] Fix | Delete
[67] Fix | Delete
These are defined by this file and are used by the
[68] Fix | Delete
header files to decide what to declare or define:
[69] Fix | Delete
[70] Fix | Delete
__GLIBC_USE (F) Define things from feature set F. This is defined
[71] Fix | Delete
to 1 or 0; the subsequent macros are either defined
[72] Fix | Delete
or undefined, and those tests should be moved to
[73] Fix | Delete
__GLIBC_USE.
[74] Fix | Delete
__USE_ISOC11 Define ISO C11 things.
[75] Fix | Delete
__USE_ISOC99 Define ISO C99 things.
[76] Fix | Delete
__USE_ISOC95 Define ISO C90 AMD1 (C95) things.
[77] Fix | Delete
__USE_ISOCXX11 Define ISO C++11 things.
[78] Fix | Delete
__USE_POSIX Define IEEE Std 1003.1 things.
[79] Fix | Delete
__USE_POSIX2 Define IEEE Std 1003.2 things.
[80] Fix | Delete
__USE_POSIX199309 Define IEEE Std 1003.1, and .1b things.
[81] Fix | Delete
__USE_POSIX199506 Define IEEE Std 1003.1, .1b, .1c and .1i things.
[82] Fix | Delete
__USE_XOPEN Define XPG things.
[83] Fix | Delete
__USE_XOPEN_EXTENDED Define X/Open Unix things.
[84] Fix | Delete
__USE_UNIX98 Define Single Unix V2 things.
[85] Fix | Delete
__USE_XOPEN2K Define XPG6 things.
[86] Fix | Delete
__USE_XOPEN2KXSI Define XPG6 XSI things.
[87] Fix | Delete
__USE_XOPEN2K8 Define XPG7 things.
[88] Fix | Delete
__USE_XOPEN2K8XSI Define XPG7 XSI things.
[89] Fix | Delete
__USE_LARGEFILE Define correct standard I/O things.
[90] Fix | Delete
__USE_LARGEFILE64 Define LFS things with separate names.
[91] Fix | Delete
__USE_FILE_OFFSET64 Define 64bit interface as default.
[92] Fix | Delete
__USE_MISC Define things from 4.3BSD or System V Unix.
[93] Fix | Delete
__USE_ATFILE Define *at interfaces and AT_* constants for them.
[94] Fix | Delete
__USE_GNU Define GNU extensions.
[95] Fix | Delete
__USE_FORTIFY_LEVEL Additional security measures used, according to level.
[96] Fix | Delete
[97] Fix | Delete
The macros `__GNU_LIBRARY__', `__GLIBC__', and `__GLIBC_MINOR__' are
[98] Fix | Delete
defined by this file unconditionally. `__GNU_LIBRARY__' is provided
[99] Fix | Delete
only for compatibility. All new code should use the other symbols
[100] Fix | Delete
to test for features.
[101] Fix | Delete
[102] Fix | Delete
All macros listed above as possibly being defined by this file are
[103] Fix | Delete
explicitly undefined if they are not explicitly defined.
[104] Fix | Delete
Feature-test macros that are not defined by the user or compiler
[105] Fix | Delete
but are implied by the other feature-test macros defined (or by the
[106] Fix | Delete
lack of any definitions) are defined by the file.
[107] Fix | Delete
[108] Fix | Delete
ISO C feature test macros depend on the definition of the macro
[109] Fix | Delete
when an affected header is included, not when the first system
[110] Fix | Delete
header is included, and so they are handled in
[111] Fix | Delete
<bits/libc-header-start.h>, which does not have a multiple include
[112] Fix | Delete
guard. Feature test macros that can be handled from the first
[113] Fix | Delete
system header included are handled here. */
[114] Fix | Delete
[115] Fix | Delete
[116] Fix | Delete
/* Undefine everything, so we get a clean slate. */
[117] Fix | Delete
#undef __USE_ISOC11
[118] Fix | Delete
#undef __USE_ISOC99
[119] Fix | Delete
#undef __USE_ISOC95
[120] Fix | Delete
#undef __USE_ISOCXX11
[121] Fix | Delete
#undef __USE_POSIX
[122] Fix | Delete
#undef __USE_POSIX2
[123] Fix | Delete
#undef __USE_POSIX199309
[124] Fix | Delete
#undef __USE_POSIX199506
[125] Fix | Delete
#undef __USE_XOPEN
[126] Fix | Delete
#undef __USE_XOPEN_EXTENDED
[127] Fix | Delete
#undef __USE_UNIX98
[128] Fix | Delete
#undef __USE_XOPEN2K
[129] Fix | Delete
#undef __USE_XOPEN2KXSI
[130] Fix | Delete
#undef __USE_XOPEN2K8
[131] Fix | Delete
#undef __USE_XOPEN2K8XSI
[132] Fix | Delete
#undef __USE_LARGEFILE
[133] Fix | Delete
#undef __USE_LARGEFILE64
[134] Fix | Delete
#undef __USE_FILE_OFFSET64
[135] Fix | Delete
#undef __USE_MISC
[136] Fix | Delete
#undef __USE_ATFILE
[137] Fix | Delete
#undef __USE_GNU
[138] Fix | Delete
#undef __USE_FORTIFY_LEVEL
[139] Fix | Delete
#undef __KERNEL_STRICT_NAMES
[140] Fix | Delete
#undef __GLIBC_USE_DEPRECATED_GETS
[141] Fix | Delete
[142] Fix | Delete
/* Suppress kernel-name space pollution unless user expressedly asks
[143] Fix | Delete
for it. */
[144] Fix | Delete
#ifndef _LOOSE_KERNEL_NAMES
[145] Fix | Delete
# define __KERNEL_STRICT_NAMES
[146] Fix | Delete
#endif
[147] Fix | Delete
[148] Fix | Delete
/* Convenience macro to test the version of gcc.
[149] Fix | Delete
Use like this:
[150] Fix | Delete
#if __GNUC_PREREQ (2,8)
[151] Fix | Delete
... code requiring gcc 2.8 or later ...
[152] Fix | Delete
#endif
[153] Fix | Delete
Note: only works for GCC 2.0 and later, because __GNUC_MINOR__ was
[154] Fix | Delete
added in 2.0. */
[155] Fix | Delete
#if defined __GNUC__ && defined __GNUC_MINOR__
[156] Fix | Delete
# define __GNUC_PREREQ(maj, min) \
[157] Fix | Delete
((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min))
[158] Fix | Delete
#else
[159] Fix | Delete
# define __GNUC_PREREQ(maj, min) 0
[160] Fix | Delete
#endif
[161] Fix | Delete
[162] Fix | Delete
/* Similarly for clang. Features added to GCC after version 4.2 may
[163] Fix | Delete
or may not also be available in clang, and clang's definitions of
[164] Fix | Delete
__GNUC(_MINOR)__ are fixed at 4 and 2 respectively. Not all such
[165] Fix | Delete
features can be queried via __has_extension/__has_feature. */
[166] Fix | Delete
#if defined __clang_major__ && defined __clang_minor__
[167] Fix | Delete
# define __glibc_clang_prereq(maj, min) \
[168] Fix | Delete
((__clang_major__ << 16) + __clang_minor__ >= ((maj) << 16) + (min))
[169] Fix | Delete
#else
[170] Fix | Delete
# define __glibc_clang_prereq(maj, min) 0
[171] Fix | Delete
#endif
[172] Fix | Delete
[173] Fix | Delete
/* Whether to use feature set F. */
[174] Fix | Delete
#define __GLIBC_USE(F) __GLIBC_USE_ ## F
[175] Fix | Delete
[176] Fix | Delete
/* _BSD_SOURCE and _SVID_SOURCE are deprecated aliases for
[177] Fix | Delete
_DEFAULT_SOURCE. If _DEFAULT_SOURCE is present we do not
[178] Fix | Delete
issue a warning; the expectation is that the source is being
[179] Fix | Delete
transitioned to use the new macro. */
[180] Fix | Delete
#if (defined _BSD_SOURCE || defined _SVID_SOURCE) \
[181] Fix | Delete
&& !defined _DEFAULT_SOURCE
[182] Fix | Delete
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
[183] Fix | Delete
# undef _DEFAULT_SOURCE
[184] Fix | Delete
# define _DEFAULT_SOURCE 1
[185] Fix | Delete
#endif
[186] Fix | Delete
[187] Fix | Delete
/* If _GNU_SOURCE was defined by the user, turn on all the other features. */
[188] Fix | Delete
#ifdef _GNU_SOURCE
[189] Fix | Delete
# undef _ISOC95_SOURCE
[190] Fix | Delete
# define _ISOC95_SOURCE 1
[191] Fix | Delete
# undef _ISOC99_SOURCE
[192] Fix | Delete
# define _ISOC99_SOURCE 1
[193] Fix | Delete
# undef _ISOC11_SOURCE
[194] Fix | Delete
# define _ISOC11_SOURCE 1
[195] Fix | Delete
# undef _POSIX_SOURCE
[196] Fix | Delete
# define _POSIX_SOURCE 1
[197] Fix | Delete
# undef _POSIX_C_SOURCE
[198] Fix | Delete
# define _POSIX_C_SOURCE 200809L
[199] Fix | Delete
# undef _XOPEN_SOURCE
[200] Fix | Delete
# define _XOPEN_SOURCE 700
[201] Fix | Delete
# undef _XOPEN_SOURCE_EXTENDED
[202] Fix | Delete
# define _XOPEN_SOURCE_EXTENDED 1
[203] Fix | Delete
# undef _LARGEFILE64_SOURCE
[204] Fix | Delete
# define _LARGEFILE64_SOURCE 1
[205] Fix | Delete
# undef _DEFAULT_SOURCE
[206] Fix | Delete
# define _DEFAULT_SOURCE 1
[207] Fix | Delete
# undef _ATFILE_SOURCE
[208] Fix | Delete
# define _ATFILE_SOURCE 1
[209] Fix | Delete
#endif
[210] Fix | Delete
[211] Fix | Delete
/* If nothing (other than _GNU_SOURCE and _DEFAULT_SOURCE) is defined,
[212] Fix | Delete
define _DEFAULT_SOURCE. */
[213] Fix | Delete
#if (defined _DEFAULT_SOURCE \
[214] Fix | Delete
|| (!defined __STRICT_ANSI__ \
[215] Fix | Delete
&& !defined _ISOC99_SOURCE && !defined _ISOC11_SOURCE \
[216] Fix | Delete
&& !defined _POSIX_SOURCE && !defined _POSIX_C_SOURCE \
[217] Fix | Delete
&& !defined _XOPEN_SOURCE))
[218] Fix | Delete
# undef _DEFAULT_SOURCE
[219] Fix | Delete
# define _DEFAULT_SOURCE 1
[220] Fix | Delete
#endif
[221] Fix | Delete
[222] Fix | Delete
/* This is to enable the ISO C11 extension. */
[223] Fix | Delete
#if (defined _ISOC11_SOURCE \
[224] Fix | Delete
|| (defined __STDC_VERSION__ && __STDC_VERSION__ >= 201112L))
[225] Fix | Delete
# define __USE_ISOC11 1
[226] Fix | Delete
#endif
[227] Fix | Delete
[228] Fix | Delete
/* This is to enable the ISO C99 extension. */
[229] Fix | Delete
#if (defined _ISOC99_SOURCE || defined _ISOC11_SOURCE \
[230] Fix | Delete
|| (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L))
[231] Fix | Delete
# define __USE_ISOC99 1
[232] Fix | Delete
#endif
[233] Fix | Delete
[234] Fix | Delete
/* This is to enable the ISO C90 Amendment 1:1995 extension. */
[235] Fix | Delete
#if (defined _ISOC99_SOURCE || defined _ISOC11_SOURCE \
[236] Fix | Delete
|| (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199409L))
[237] Fix | Delete
# define __USE_ISOC95 1
[238] Fix | Delete
#endif
[239] Fix | Delete
[240] Fix | Delete
#ifdef __cplusplus
[241] Fix | Delete
/* This is to enable compatibility for ISO C++17. */
[242] Fix | Delete
# if __cplusplus >= 201703L
[243] Fix | Delete
# define __USE_ISOC11 1
[244] Fix | Delete
# endif
[245] Fix | Delete
/* This is to enable compatibility for ISO C++11.
[246] Fix | Delete
Check the temporary macro for now, too. */
[247] Fix | Delete
# if __cplusplus >= 201103L || defined __GXX_EXPERIMENTAL_CXX0X__
[248] Fix | Delete
# define __USE_ISOCXX11 1
[249] Fix | Delete
# define __USE_ISOC99 1
[250] Fix | Delete
# endif
[251] Fix | Delete
#endif
[252] Fix | Delete
[253] Fix | Delete
/* If none of the ANSI/POSIX macros are defined, or if _DEFAULT_SOURCE
[254] Fix | Delete
is defined, use POSIX.1-2008 (or another version depending on
[255] Fix | Delete
_XOPEN_SOURCE). */
[256] Fix | Delete
#ifdef _DEFAULT_SOURCE
[257] Fix | Delete
# if !defined _POSIX_SOURCE && !defined _POSIX_C_SOURCE
[258] Fix | Delete
# define __USE_POSIX_IMPLICITLY 1
[259] Fix | Delete
# endif
[260] Fix | Delete
# undef _POSIX_SOURCE
[261] Fix | Delete
# define _POSIX_SOURCE 1
[262] Fix | Delete
# undef _POSIX_C_SOURCE
[263] Fix | Delete
# define _POSIX_C_SOURCE 200809L
[264] Fix | Delete
#endif
[265] Fix | Delete
[266] Fix | Delete
#if ((!defined __STRICT_ANSI__ \
[267] Fix | Delete
|| (defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >= 500)) \
[268] Fix | Delete
&& !defined _POSIX_SOURCE && !defined _POSIX_C_SOURCE)
[269] Fix | Delete
# define _POSIX_SOURCE 1
[270] Fix | Delete
# if defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) < 500
[271] Fix | Delete
# define _POSIX_C_SOURCE 2
[272] Fix | Delete
# elif defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) < 600
[273] Fix | Delete
# define _POSIX_C_SOURCE 199506L
[274] Fix | Delete
# elif defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) < 700
[275] Fix | Delete
# define _POSIX_C_SOURCE 200112L
[276] Fix | Delete
# else
[277] Fix | Delete
# define _POSIX_C_SOURCE 200809L
[278] Fix | Delete
# endif
[279] Fix | Delete
# define __USE_POSIX_IMPLICITLY 1
[280] Fix | Delete
#endif
[281] Fix | Delete
[282] Fix | Delete
/* Some C libraries once required _REENTRANT and/or _THREAD_SAFE to be
[283] Fix | Delete
defined in all multithreaded code. GNU libc has not required this
[284] Fix | Delete
for many years. We now treat them as compatibility synonyms for
[285] Fix | Delete
_POSIX_C_SOURCE=199506L, which is the earliest level of POSIX with
[286] Fix | Delete
comprehensive support for multithreaded code. Using them never
[287] Fix | Delete
lowers the selected level of POSIX conformance, only raises it. */
[288] Fix | Delete
#if ((!defined _POSIX_C_SOURCE || (_POSIX_C_SOURCE - 0) < 199506L) \
[289] Fix | Delete
&& (defined _REENTRANT || defined _THREAD_SAFE))
[290] Fix | Delete
# define _POSIX_SOURCE 1
[291] Fix | Delete
# undef _POSIX_C_SOURCE
[292] Fix | Delete
# define _POSIX_C_SOURCE 199506L
[293] Fix | Delete
#endif
[294] Fix | Delete
[295] Fix | Delete
#if (defined _POSIX_SOURCE \
[296] Fix | Delete
|| (defined _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1) \
[297] Fix | Delete
|| defined _XOPEN_SOURCE)
[298] Fix | Delete
# define __USE_POSIX 1
[299] Fix | Delete
#endif
[300] Fix | Delete
[301] Fix | Delete
#if defined _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 2 || defined _XOPEN_SOURCE
[302] Fix | Delete
# define __USE_POSIX2 1
[303] Fix | Delete
#endif
[304] Fix | Delete
[305] Fix | Delete
#if defined _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L
[306] Fix | Delete
# define __USE_POSIX199309 1
[307] Fix | Delete
#endif
[308] Fix | Delete
[309] Fix | Delete
#if defined _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L
[310] Fix | Delete
# define __USE_POSIX199506 1
[311] Fix | Delete
#endif
[312] Fix | Delete
[313] Fix | Delete
#if defined _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L
[314] Fix | Delete
# define __USE_XOPEN2K 1
[315] Fix | Delete
# undef __USE_ISOC95
[316] Fix | Delete
# define __USE_ISOC95 1
[317] Fix | Delete
# undef __USE_ISOC99
[318] Fix | Delete
# define __USE_ISOC99 1
[319] Fix | Delete
#endif
[320] Fix | Delete
[321] Fix | Delete
#if defined _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L
[322] Fix | Delete
# define __USE_XOPEN2K8 1
[323] Fix | Delete
# undef _ATFILE_SOURCE
[324] Fix | Delete
# define _ATFILE_SOURCE 1
[325] Fix | Delete
#endif
[326] Fix | Delete
[327] Fix | Delete
#ifdef _XOPEN_SOURCE
[328] Fix | Delete
# define __USE_XOPEN 1
[329] Fix | Delete
# if (_XOPEN_SOURCE - 0) >= 500
[330] Fix | Delete
# define __USE_XOPEN_EXTENDED 1
[331] Fix | Delete
# define __USE_UNIX98 1
[332] Fix | Delete
# undef _LARGEFILE_SOURCE
[333] Fix | Delete
# define _LARGEFILE_SOURCE 1
[334] Fix | Delete
# if (_XOPEN_SOURCE - 0) >= 600
[335] Fix | Delete
# if (_XOPEN_SOURCE - 0) >= 700
[336] Fix | Delete
# define __USE_XOPEN2K8 1
[337] Fix | Delete
# define __USE_XOPEN2K8XSI 1
[338] Fix | Delete
# endif
[339] Fix | Delete
# define __USE_XOPEN2K 1
[340] Fix | Delete
# define __USE_XOPEN2KXSI 1
[341] Fix | Delete
# undef __USE_ISOC95
[342] Fix | Delete
# define __USE_ISOC95 1
[343] Fix | Delete
# undef __USE_ISOC99
[344] Fix | Delete
# define __USE_ISOC99 1
[345] Fix | Delete
# endif
[346] Fix | Delete
# else
[347] Fix | Delete
# ifdef _XOPEN_SOURCE_EXTENDED
[348] Fix | Delete
# define __USE_XOPEN_EXTENDED 1
[349] Fix | Delete
# endif
[350] Fix | Delete
# endif
[351] Fix | Delete
#endif
[352] Fix | Delete
[353] Fix | Delete
#ifdef _LARGEFILE_SOURCE
[354] Fix | Delete
# define __USE_LARGEFILE 1
[355] Fix | Delete
#endif
[356] Fix | Delete
[357] Fix | Delete
#ifdef _LARGEFILE64_SOURCE
[358] Fix | Delete
# define __USE_LARGEFILE64 1
[359] Fix | Delete
#endif
[360] Fix | Delete
[361] Fix | Delete
#if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS == 64
[362] Fix | Delete
# define __USE_FILE_OFFSET64 1
[363] Fix | Delete
#endif
[364] Fix | Delete
[365] Fix | Delete
#if defined _DEFAULT_SOURCE
[366] Fix | Delete
# define __USE_MISC 1
[367] Fix | Delete
#endif
[368] Fix | Delete
[369] Fix | Delete
#ifdef _ATFILE_SOURCE
[370] Fix | Delete
# define __USE_ATFILE 1
[371] Fix | Delete
#endif
[372] Fix | Delete
[373] Fix | Delete
#ifdef _GNU_SOURCE
[374] Fix | Delete
# define __USE_GNU 1
[375] Fix | Delete
#endif
[376] Fix | Delete
[377] Fix | Delete
#if defined _FORTIFY_SOURCE && _FORTIFY_SOURCE > 0
[378] Fix | Delete
# if !defined __OPTIMIZE__ || __OPTIMIZE__ <= 0
[379] Fix | Delete
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
[380] Fix | Delete
# elif !__GNUC_PREREQ (4, 1)
[381] Fix | Delete
# warning _FORTIFY_SOURCE requires GCC 4.1 or later
[382] Fix | Delete
# elif _FORTIFY_SOURCE > 2 && (__glibc_clang_prereq (9, 0) \
[383] Fix | Delete
|| __GNUC_PREREQ (12, 0))
[384] Fix | Delete
[385] Fix | Delete
# if _FORTIFY_SOURCE > 3
[386] Fix | Delete
# warning _FORTIFY_SOURCE > 3 is treated like 3 on this platform
[387] Fix | Delete
# endif
[388] Fix | Delete
# define __USE_FORTIFY_LEVEL 3
[389] Fix | Delete
# elif _FORTIFY_SOURCE > 1
[390] Fix | Delete
# if _FORTIFY_SOURCE > 2
[391] Fix | Delete
# warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform
[392] Fix | Delete
# endif
[393] Fix | Delete
# define __USE_FORTIFY_LEVEL 2
[394] Fix | Delete
# else
[395] Fix | Delete
# define __USE_FORTIFY_LEVEL 1
[396] Fix | Delete
# endif
[397] Fix | Delete
#endif
[398] Fix | Delete
#ifndef __USE_FORTIFY_LEVEL
[399] Fix | Delete
# define __USE_FORTIFY_LEVEL 0
[400] Fix | Delete
#endif
[401] Fix | Delete
[402] Fix | Delete
/* The function 'gets' existed in C89, but is impossible to use
[403] Fix | Delete
safely. It has been removed from ISO C11 and ISO C++14. Note: for
[404] Fix | Delete
compatibility with various implementations of <cstdio>, this test
[405] Fix | Delete
must consider only the value of __cplusplus when compiling C++. */
[406] Fix | Delete
#if defined __cplusplus ? __cplusplus >= 201402L : defined __USE_ISOC11
[407] Fix | Delete
# define __GLIBC_USE_DEPRECATED_GETS 0
[408] Fix | Delete
#else
[409] Fix | Delete
# define __GLIBC_USE_DEPRECATED_GETS 1
[410] Fix | Delete
#endif
[411] Fix | Delete
[412] Fix | Delete
/* Get definitions of __STDC_* predefined macros, if the compiler has
[413] Fix | Delete
not preincluded this header automatically. */
[414] Fix | Delete
#include <stdc-predef.h>
[415] Fix | Delete
[416] Fix | Delete
/* This macro indicates that the installed library is the GNU C Library.
[417] Fix | Delete
For historic reasons the value now is 6 and this will stay from now
[418] Fix | Delete
on. The use of this variable is deprecated. Use __GLIBC__ and
[419] Fix | Delete
__GLIBC_MINOR__ now (see below) when you want to test for a specific
[420] Fix | Delete
GNU C library version and use the values in <gnu/lib-names.h> to get
[421] Fix | Delete
the sonames of the shared libraries. */
[422] Fix | Delete
#undef __GNU_LIBRARY__
[423] Fix | Delete
#define __GNU_LIBRARY__ 6
[424] Fix | Delete
[425] Fix | Delete
/* Major and minor version number of the GNU C library package. Use
[426] Fix | Delete
these macros to test for features in specific releases. */
[427] Fix | Delete
#define __GLIBC__ 2
[428] Fix | Delete
#define __GLIBC_MINOR__ 28
[429] Fix | Delete
[430] Fix | Delete
#define __GLIBC_PREREQ(maj, min) \
[431] Fix | Delete
((__GLIBC__ << 16) + __GLIBC_MINOR__ >= ((maj) << 16) + (min))
[432] Fix | Delete
[433] Fix | Delete
/* This is here only because every header file already includes this one. */
[434] Fix | Delete
#ifndef __ASSEMBLER__
[435] Fix | Delete
# ifndef _SYS_CDEFS_H
[436] Fix | Delete
# include <sys/cdefs.h>
[437] Fix | Delete
# endif
[438] Fix | Delete
[439] Fix | Delete
/* If we don't have __REDIRECT, prototypes will be missing if
[440] Fix | Delete
__USE_FILE_OFFSET64 but not __USE_LARGEFILE[64]. */
[441] Fix | Delete
# if defined __USE_FILE_OFFSET64 && !defined __REDIRECT
[442] Fix | Delete
# define __USE_LARGEFILE 1
[443] Fix | Delete
# define __USE_LARGEFILE64 1
[444] Fix | Delete
# endif
[445] Fix | Delete
[446] Fix | Delete
#endif /* !ASSEMBLER */
[447] Fix | Delete
[448] Fix | Delete
/* Decide whether we can define 'extern inline' functions in headers. */
[449] Fix | Delete
#if __GNUC_PREREQ (2, 7) && defined __OPTIMIZE__ \
[450] Fix | Delete
&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__ \
[451] Fix | Delete
&& defined __extern_inline
[452] Fix | Delete
# define __USE_EXTERN_INLINES 1
[453] Fix | Delete
#endif
[454] Fix | Delete
[455] Fix | Delete
[456] Fix | Delete
/* This is here only because every header file already includes this one.
[457] Fix | Delete
Get the definitions of all the appropriate `__stub_FUNCTION' symbols.
[458] Fix | Delete
<gnu/stubs.h> contains `#define __stub_FUNCTION' when FUNCTION is a stub
[459] Fix | Delete
that will always return failure (and set errno to ENOSYS). */
[460] Fix | Delete
#include <gnu/stubs.h>
[461] Fix | Delete
[462] Fix | Delete
[463] Fix | Delete
#endif /* features.h */
[464] Fix | Delete
[465] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function