Define HAVE_UINTPTR_T, HAVE_PTRDIFF_T and HAVE_LONG_LONG depending on
authorMarius Vollmer <mvo@zagadka.de>
Mon, 12 Nov 2001 01:00:40 +0000 (01:00 +0000)
committerMarius Vollmer <mvo@zagadka.de>
Mon, 12 Nov 2001 01:00:40 +0000 (01:00 +0000)
whether their size is non-zero.

libguile/__scm.h

index 2ae4cdf..29abc9d 100644 (file)
  * - ... 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