delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2015/05/23/08:42:13

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
bh=nsaGoZLR0jiwY5qU+wCai7jYhoLQNEDpjWPg9XgobiA=;
b=ArL2NweDY+fowzjRqNnMvkJNImUyAQs0txXUN0VHk5/33jnXDRuxiwRV5nxM5neRbF
IvztD7lo7o1C6IxAGuFW7hhT++gsiHs6Wrrq83aU2kgN9Lgb9ZUWycpSfPKJ+Gwqp2bf
0o4CjtK74xeOus+V46plktKcfQuQa0ZZ3OcQ9PMfwPWaWLlwIua6p0cT50MWZdvxcXhM
VbMxKlXVXm6I2ap1clH0HDY1jpNQALfbfnPfIdS/XCl7hqSTFaX0QkkHfttq2FdHOrYj
LfKjplNAvXS+iTEgpE5z7GO7ueVP78e533hNTMxvqx2hBW6r+9T9TY6TBht6EscEyOOk
BZ0A==
MIME-Version: 1.0
X-Received: by 10.43.125.200 with SMTP id gt8mr9736962icc.90.1432384919711;
Sat, 23 May 2015 05:41:59 -0700 (PDT)
In-Reply-To: <201505042003.t44K3odg011007@delorie.com>
References: <201505042003 DOT t44K3odg011007 AT delorie DOT com>
Date: Sat, 23 May 2015 15:41:59 +0300
Message-ID: <CAA2C=vCni13X22ruUTfQF0gG2Qq+06y8hpcOSH61kLauUG9Rfg@mail.gmail.com>
Subject: Re: ANNOUNCE: DJGPP 2.05 beta 1
From: "Ozkan Sezer (sezeroz AT gmail DOT com)" <djgpp AT delorie DOT com>
To: djgpp AT delorie DOT com
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Applied the following to zoneinfo/src/private.h (and updated djdiffs afterwards)

private.h: add missing INT64_MAX, INT_FAST32_MAX, INT_FAST32_MAX,
and the corresponding *_MIN macros, in case one wants to compile
without -DHAVE_STDINT_H=1 (otherwise compilation fails.)

Index: private.h
===================================================================
RCS file: /cvs/djgpp/djgpp/zoneinfo/src/private.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- private.h	17 Aug 2013 21:04:16 -0000	1.7
+++ private.h	23 May 2015 12:32:51 -0000	1.8
@@ -155,11 +155,20 @@
 #endif /* ! (defined LLONG_MAX || defined __LONG_LONG_MAX__) */
 #endif /* !defined INT_FAST64_MAX */

+#ifndef INT64_MAX
+# define INT64_MAX INT_FAST64_MAX
+# define INT64_MIN INT_FAST64_MIN
+#endif
+
 #ifndef INT_FAST32_MAX
 # if INT_MAX >> 31 == 0
 typedef long int_fast32_t;
+#  define INT_FAST32_MAX LONG_MAX
+#  define INT_FAST32_MIN LONG_MIN
 # else
 typedef int int_fast32_t;
+#  define INT_FAST32_MAX INT_MAX
+#  define INT_FAST32_MIN INT_MIN
 # endif
 #endif

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019