This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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]

Re: Remove __USE_ANSI


On 01/09/2013 06:48 PM, Joseph S. Myers wrote:
feature.h defines a macro __USE_ANSI.  It is always defined, and not
tested anywhere in the source tree, so is in fact useless, and this
patch removes it.  Tested x86_64.

Yes, this is indeed ancient - thanks,


Andreas

2013-01-09 Joseph Myers <joseph@codesourcery.com>

* include/features.h (__USE_ANSI): Remove.

diff --git a/include/features.h b/include/features.h
index 688322c..d6c32cb 100644
--- a/include/features.h
+++ b/include/features.h
@@ -129,9 +129,6 @@
  # define __KERNEL_STRICT_NAMES
  #endif

-/* Always use ISO C things.  */
-#define	__USE_ANSI	1
-
  /* Convenience macros to test the versions of glibc and gcc.
     Use them like this:
     #if __GNUC_PREREQ (2,8)



--
 Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
  SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
    GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126


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