[tz] Cygwin

Arthur David Olson arthurdavidolson at gmail.com
Tue Mar 25 17:51:03 UTC 2014


Changes to private.h and zdump.c, for the benefit of Cygwin setups which
lack glibc but have stdint.h; both attached and tab-mangled (below)

    @dashdashado

*** tz2014braw/private.h    2014-03-20 17:34:32.000000000 -0400
--- tz2014bcooked/private.h    2014-03-25 13:41:48.769742400 -0400
***************
*** 119,127 ****
--- 119,131 ----
  ** (glibc 2.1 and later have stdint.h, even with pre-C99 compilers.)
  */
  #ifndef HAVE_STDINT_H
+ #ifdef __CYGWIN__
+ #define HAVE_STDINT_H 1
+ #else
  #define HAVE_STDINT_H \
      (199901 <= __STDC_VERSION__ || \
      2 < (__GLIBC__ + (0 < __GLIBC_MINOR__)))
+ #endif
  #endif /* !defined HAVE_STDINT_H */

  #if HAVE_STDINT_H
*** tz2014braw/zdump.c    2013-10-20 19:20:23.000000000 -0400
--- tz2014bcooked/zdump.c    2014-03-25 13:46:25.124227800 -0400
***************
*** 35,43 ****
--- 35,47 ----
  */

  #ifndef HAVE_STDINT_H
+ #ifdef __CYGWIN__
+ #define HAVE_STDINT_H 1
+ #else
  # define HAVE_STDINT_H \
      (199901 <= __STDC_VERSION__ || 2 < (__GLIBC__ + (0 <
__GLIBC_MINOR__)))
  #endif
+ #endif
  #if HAVE_STDINT_H
  # include "stdint.h"
  #endif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mm.icann.org/pipermail/tz/attachments/20140325/b110f0e8/attachment.html>
-------------- next part --------------
*** tz2014braw/private.h	2014-03-20 17:34:32.000000000 -0400
--- tz2014bcooked/private.h	2014-03-25 13:41:48.769742400 -0400
***************
*** 119,127 ****
--- 119,131 ----
  ** (glibc 2.1 and later have stdint.h, even with pre-C99 compilers.)
  */
  #ifndef HAVE_STDINT_H
+ #ifdef __CYGWIN__
+ #define HAVE_STDINT_H 1
+ #else
  #define HAVE_STDINT_H \
  	(199901 <= __STDC_VERSION__ || \
  	2 < (__GLIBC__ + (0 < __GLIBC_MINOR__)))
+ #endif
  #endif /* !defined HAVE_STDINT_H */
  
  #if HAVE_STDINT_H
*** tz2014braw/zdump.c	2013-10-20 19:20:23.000000000 -0400
--- tz2014bcooked/zdump.c	2014-03-25 13:46:25.124227800 -0400
***************
*** 35,43 ****
--- 35,47 ----
  */
  
  #ifndef HAVE_STDINT_H
+ #ifdef __CYGWIN__
+ #define HAVE_STDINT_H 1
+ #else
  # define HAVE_STDINT_H \
      (199901 <= __STDC_VERSION__ || 2 < (__GLIBC__ + (0 < __GLIBC_MINOR__)))
  #endif
+ #endif
  #if HAVE_STDINT_H
  # include "stdint.h"
  #endif


More information about the tz mailing list