<br><div class="gmail_quote">On Tue, Mar 5, 2013 at 11:13 PM, Alan Barrett <span dir="ltr">&lt;<a href="mailto:apb@cequrux.com" target="_blank">apb@cequrux.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On Tue, 05 Mar 2013, Arthur David Olson wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The code in question dates back to when &quot;long&quot; was the longest integer 
type available with all compilers (&quot;long long&quot; was not universal then).<br>
</blockquote>
<br></div>
Today, intmax_t is the longest integer type.  Perhaps most of the longs in zic.t should be changed to intmax_t.<br></blockquote></div><br>Does Microsoft&#39;s MSVC (which is a C89 compiler) have support for intmax_t (and &lt;stdint.h&gt; or &lt;inttypes.h&gt;)?  Does the TZ code have to work with Microsoft compilers?<br>

<br>Maintaining compatibility with MSVC in C (as opposed to C++) is a serious impediment to good engineering on occasion.<br><br>-- <br>Jonathan Leffler &lt;<a href="mailto:jonathan.leffler@gmail.com" target="_blank">jonathan.leffler@gmail.com</a>&gt;  #include &lt;disclaimer.h&gt;<br>

Guardian of DBD::Informix - v2013.0118 - <a href="http://dbi.perl.org" target="_blank">http://dbi.perl.org</a><br>&quot;Blessed are we who can laugh at ourselves, for we shall never cease to be amused.&quot;