X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=include%2Ffeatures.h;h=dcf1348d83424ceb90c8d6217e089a227b9b5961;hb=266bdc1f623fe6fe489e5115e0f8ef723705d949;hp=1d47b5660935cd87458c9ffb63521b5610b08f36;hpb=f757db2d319ccc5f7034165046fb2bb58901afb1;p=uclinux-h8%2FuClibc.git diff --git a/include/features.h b/include/features.h index 1d47b5660..dcf1348d8 100644 --- a/include/features.h +++ b/include/features.h @@ -12,9 +12,8 @@ Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. */ + License along with the GNU C Library; if not, see + . */ #ifndef _FEATURES_H #define _FEATURES_H 1 @@ -198,9 +197,12 @@ # define __OPTIMIZE_SIZE__ 1 /* disable unsupported features */ -# undef _FORTIFY_SOURCE # undef __LDBL_COMPAT +# ifndef __UCLIBC_HAS_FORTIFY__ +# undef _FORTIFY_SOURCE +# endif + # ifndef __UCLIBC_HAS_THREADS__ # if defined _REENTRANT || defined _THREAD_SAFE # warning requested reentrant code, but thread support was disabled @@ -433,7 +435,7 @@ uClibc was built without large file support enabled. */ #if __GNUC_PREREQ (2, 7) && defined __OPTIMIZE__ \ && !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__ \ - && (defined __extern_inline || defined __GNUC_GNU_INLINE__) + && (defined __extern_inline || defined __GNUC_GNU_INLINE__ || defined __GNUC_STDC_INLINE__) # define __USE_EXTERN_INLINES 1 #endif