Changeset: b6ed6ee53186 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b6ed6ee53186
Modified Files:
        NT/monetdb_config.h.in
Branch: int128
Log Message:

fixed (hypothetical) int128 / hge support on Windows


diffs (32 lines):

diff --git a/NT/monetdb_config.h.in b/NT/monetdb_config.h.in
--- a/NT/monetdb_config.h.in
+++ b/NT/monetdb_config.h.in
@@ -680,9 +680,6 @@
 /* Define to 1 if the system has the type `__int128_t'. */
 /* #undef HAVE___INT128_T */
 
-/* Define to 1 if the system has a 128-bit integer type. */
-/* #undef HAVE_HGE */
-
 /* Define to 1 if the system has the type `__int64'. */
 #define HAVE___INT64 1
 
@@ -1008,6 +1005,18 @@ typedef __int64 lng;
 # define SIZEOF_LNG SIZEOF___INT64
 #endif
 
+#ifdef HAVE___INT128
+typedef __int128 hge;
+# define HAVE_HGE 1
+# define SIZEOF_HGE SIZEOF___INT128
+#else
+# if defined(HAVE___INT128_T) && defined(HAVE___UINT128_T)
+typedef __int128_t hge;
+#  define HAVE_HGE 1
+#  define SIZEOF_HGE SIZEOF___INT128_T
+# endif
+#endif
+
 /* Format to print 64 bit signed integers. */
 #define LLFMT "%I64d"
 
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to