summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Vollmer <mvo@zagadka.de>2001-11-12 01:00:40 +0000
committerMarius Vollmer <mvo@zagadka.de>2001-11-12 01:00:40 +0000
commitfdf773fa8f5079ea9194d6a0ed01631d4ccd99a9 (patch)
treea3a2e38649e6c81cc0cec0ec1d7602c59cbbdb4d
parent35656ebcef3f1537bffdb5c7250bd4d001abb341 (diff)
downloadguile-fdf773fa8f5079ea9194d6a0ed01631d4ccd99a9.tar.gz
Define HAVE_UINTPTR_T, HAVE_PTRDIFF_T and HAVE_LONG_LONG depending on
whether their size is non-zero.
-rw-r--r--libguile/__scm.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/libguile/__scm.h b/libguile/__scm.h
index 2ae4cdf29..29abc9d09 100644
--- a/libguile/__scm.h
+++ b/libguile/__scm.h
@@ -293,6 +293,19 @@
* - ... add more
*/
+#if SIZEOF_UINTPTR_T != 0
+#define HAVE_UINTPTR_T
+#endif
+
+#if SIZEOF_PTRDIFF_T != 0
+#define HAVE_PTRDIFF_T
+#endif
+
+#if SIZEOF_LONG_LONG != 0
+#define HAVE_LONG_LONGS
+#define HAVE_LONG_LONG
+#endif
+
#ifndef HAVE_PTRDIFF_T
typedef long ptrdiff_t;
#endif