Changeset: cce927060b6c for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=cce927060b6c
Modified Files:
NT/monetdb_config.h.in
configure.ag
Branch: Mar2018
Log Message:
No need to check for __int64 and long long types.
We just use int64_t.
diffs (56 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
@@ -301,9 +301,6 @@
/* Define to 1 if you have the `lockf' function. */
/* #undef HAVE_LOCKF */
-/* Define to 1 if the system has the type `long long'. */
-#define HAVE_LONG_LONG 1
-
/* Define to 1 if you have the <mach/mach_init.h> header file. */
/* #undef HAVE_MACH_MACH_INIT_H */
@@ -592,9 +589,6 @@
/* Define to 1 if the system has the type `__int128_t'. */
/* #undef HAVE___INT128_T */
-/* Define to 1 if the system has the type `__int64'. */
-#define HAVE___INT64 1
-
/* Define to 1 if the system has the type `__uint128_t'. */
/* #undef HAVE___UINT128_T */
@@ -692,11 +686,6 @@
/* The size of `long', as computed by sizeof. */
#define SIZEOF_LONG 4
-/* The size of `long long', as computed by sizeof. */
-#ifdef HAVE_LONG_LONG
-#define SIZEOF_LONG_LONG 8
-#endif
-
/* The size of `ptrdiff_t', as computed by sizeof. */
#ifdef _WIN64
#define SIZEOF_PTRDIFF_T 8
diff --git a/configure.ag b/configure.ag
--- a/configure.ag
+++ b/configure.ag
@@ -2532,8 +2532,6 @@ AC_TYPE_SSIZE_T
AC_TYPE_PID_T
AC_TYPE_OFF_T
-AC_CHECK_TYPES([__int64, long long])
-
AS_CASE([$enable_int128],
[yes|auto], [
have_hge=no
@@ -2561,8 +2559,6 @@ AC_CHECK_SIZEOF([size_t])
AC_CHECK_SIZEOF([ssize_t])
AC_CHECK_SIZEOF([ptrdiff_t],,[@%:@include <stddef.h>])
AC_CHECK_SIZEOF([wchar_t],,[@%:@include <stddef.h>])
-AC_CHECK_SIZEOF([long long])
-AC_CHECK_SIZEOF([__int64])
AC_CHECK_SIZEOF([__int128])
AC_CHECK_SIZEOF([__int128_t])
AC_C_CHAR_UNSIGNED
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list