From: Kevin Ryde <user42@zip.com.au>
Subject: Re: scm_t_bits versus uintptr_t
Date: Sat, 07 Jun 2003 08:29:37 +1000 [thread overview]
Message-ID: <87r8662626.fsf@zip.com.au> (raw)
In-Reply-To: 87r86djxww.fsf@zagadka.ping.de
[-- Attachment #1: Type: text/plain, Size: 223 bytes --]
Marius Vollmer <mvo@zagadka.de> writes:
>
> Yes, that is the intention. Could you fix this?
* tags.h: Use inttypes.h and stdint.h when available, for INTPTR_MAX
and friends required by scm_t_bits setups.
[-- Attachment #2: tags.h.inttypes.diff --]
[-- Type: text/plain, Size: 484 bytes --]
--- tags.h.~1.100.~ 2003-06-05 00:30:58.000000000 +1000
+++ tags.h 2003-06-07 08:26:00.000000000 +1000
@@ -29,6 +29,14 @@
/* picks up scmconfig.h too */
#include "libguile/__scm.h"
+#if HAVE_INTTYPES_H
+# include <inttypes.h> /* for INTPTR_MAX and friends */
+#else
+# if HAVE_STDINT_H
+# include <stdint.h> /* for INTPTR_MAX and friends */
+# endif
+#endif
+
/* In the beginning was the Word:
*/
#if SCM_SIZEOF_INTPTR_T != 0 && defined(INTPTR_MAX) && defined(INTPTR_MIN)
[-- Attachment #3: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
prev parent reply other threads:[~2003-06-06 22:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-23 23:03 scm_t_bits versus uintptr_t Kevin Ryde
2003-06-01 21:22 ` Marius Vollmer
2003-06-06 22:29 ` Kevin Ryde [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r8662626.fsf@zip.com.au \
--to=user42@zip.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).