[patch] Include some c99 functions in __STRICT_ANSI__ for cygwin c99.

Dave Korn dave.korn.cygwin@googlemail.com
Fri Oct 16 18:40:00 GMT 2009


Jeff Johnston wrote:

> Does the __STDC_VERSION__ level need to be checked as you've implied
> below or as I would expect, should it just be set all the time for Cygwin?

  I think the check would make sense as:


  #if !defined (__STRICT_ANSI__) || (__STDC_VERSION__ >= 199901L)
  #define __USE_XOPEN2K 1
  #endif



    cheers,
      DaveK



More information about the Newlib mailing list