Don't test int64_t if it does not exist.
author |
Bruno Haible <bruno@clisp.org> |
date |
Sun, 07 Jun 2009 11:57:05 +0200 |
parents |
806d4180d151 |
children |
3c7eb6eb8b74 |
files |
ChangeLog tests/test-alignof.c |
diffstat |
2 files changed, 7 insertions(+), 0 deletions(-)
[+]
|
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-07 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-alignof.c: Don't test int64_t if it does not exist.
+ Reported by Eric Blake.
+
2009-06-06 Eric Blake <ebb9@byu.net>
test-alignof: fix typo with long double
--- a/tests/test-alignof.c
+++ b/tests/test-alignof.c
@@ -44,7 +44,9 @@
CHECK (float)
CHECK (double)
CHECK (longdouble)
+#ifdef INT64_MAX
CHECK (int64_t)
+#endif
CHECK (struct1)
CHECK (struct2)
CHECK (struct3)