This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[v3] remove glibc-specific macro


Looks like this hasn't been needed since at least glibc-2.2.3 ish. 

tested x86_64/linux

-benjamin
2009-02-02  Benjamin Kosnik  <bkoz@redhat.com>

	* config/os/gnu-linux/os_defines.h: Remove superfluous
	__NO_STRING_INLINES.

Index: config/os/gnu-linux/os_defines.h
===================================================================
--- config/os/gnu-linux/os_defines.h	(revision 143882)
+++ config/os/gnu-linux/os_defines.h	(working copy)
@@ -1,6 +1,6 @@
 // Specific definitions for GNU/Linux  -*- C++ -*-
 
-// Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+// Copyright (C) 2000, 2001, 2002, 2003, 2009 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -43,9 +43,4 @@
 
 #include <features.h>
 
-// We must not see the optimized string functions GNU libc defines.
-#if defined __GLIBC__ && __GLIBC__ >= 2
-#define __NO_STRING_INLINES
 #endif
-
-#endif

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]