diff options
author | Andy Wingo <wingo@pobox.com> | 2010-07-22 20:56:55 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2010-07-26 15:00:49 +0200 |
commit | 4ca48269976e17b2530728cce7df63843a6ce2b0 (patch) | |
tree | 2f72584484bf9f40062dafa4123a962fe17e4eb7 /test-suite/standalone/test-conversion.c | |
parent | 77b139121d0344d8a89f4d8b85739a3447bac196 (diff) | |
download | guile-4ca48269976e17b2530728cce7df63843a6ce2b0.tar.gz |
remove SCM_HAVE_T_INT64, SCM_HAVE_T_UINT64
* libguile/__scm.h:
* libguile/numbers.h:
* libguile/random.c:
* libguile/srfi-4.c:
* libguile/srfi-4.h:
* libguile/numbers.c:
* test-suite/standalone/test-conversion.c:
* libguile/gen-scmconfig.c: As we require 64-bit integers in
configure.ac, remove conditional definition of 64-bit types.
Diffstat (limited to 'test-suite/standalone/test-conversion.c')
-rw-r--r-- | test-suite/standalone/test-conversion.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/test-suite/standalone/test-conversion.c b/test-suite/standalone/test-conversion.c index 1887d33d6..4480125f2 100644 --- a/test-suite/standalone/test-conversion.c +++ b/test-suite/standalone/test-conversion.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1999,2000,2001,2003,2004, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. +/* Copyright (C) 1999,2000,2001,2003,2004, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License @@ -702,10 +702,8 @@ DEFSTST (scm_to_int16) DEFUTST (scm_to_uint16) DEFSTST (scm_to_int32) DEFUTST (scm_to_uint32) -#ifdef SCM_HAVE_T_INT64 DEFSTST (scm_to_int64) DEFUTST (scm_to_uint64) -#endif #define TEST_8S(v,f,r,re,te) test_8s (v, tst_##f, #f, r, re, te) #define TEST_8U(v,f,r,re,te) test_8u (v, tst_##f, #f, r, re, te) @@ -745,11 +743,9 @@ test_int_sizes () TEST_7S (scm_from_int32, SCM_T_INT32_MAX+1LL, "-2147483648"); TEST_7U (scm_from_uint32, SCM_T_UINT32_MAX, "4294967295"); -#if SCM_HAVE_T_INT64 TEST_7S (scm_from_int64, SCM_T_INT64_MIN, "-9223372036854775808"); TEST_7S (scm_from_int64, SCM_T_INT64_MAX, "9223372036854775807"); TEST_7U (scm_from_uint64, SCM_T_UINT64_MAX, "18446744073709551615"); -#endif TEST_8S ("91", scm_to_schar, 91, 0, 0); TEST_8U ("91", scm_to_uchar, 91, 0, 0); @@ -794,7 +790,6 @@ test_int_sizes () TEST_8U ("-1", scm_to_uint32, 0, 1, 0); TEST_8U ("#f", scm_to_uint32, 0, 0, 1); -#if SCM_HAVE_T_INT64 TEST_8S ("-9223372036854775808", scm_to_int64, SCM_T_INT64_MIN, 0, 0); TEST_8S ("9223372036854775807", scm_to_int64, SCM_T_INT64_MAX, 0, 0); TEST_8S ("9223372036854775808", scm_to_int64, 0, 1, 0); @@ -803,7 +798,6 @@ test_int_sizes () TEST_8U ("18446744073709551616", scm_to_uint64, 0, 1, 0); TEST_8U ("-1", scm_to_uint64, 0, 1, 0); TEST_8U ("#f", scm_to_uint64, 0, 0, 1); -#endif } |