From: Bruno Haible Date: Sun, 7 Jun 2009 09:57:05 +0000 (+0200) Subject: Don't test int64_t if it does not exist. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d031931801dd4c90832ef5bfac35dba6982adce;p=pspp Don't test int64_t if it does not exist. --- diff --git a/ChangeLog b/ChangeLog index a5af1c565c..b47d66dc5d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-06-07 Bruno Haible + + * tests/test-alignof.c: Don't test int64_t if it does not exist. + Reported by Eric Blake. + 2009-06-06 Eric Blake test-alignof: fix typo with long double diff --git a/tests/test-alignof.c b/tests/test-alignof.c index 8bd5bc19d3..d42bdf5e64 100644 --- a/tests/test-alignof.c +++ b/tests/test-alignof.c @@ -44,7 +44,9 @@ CHECK (long) CHECK (float) CHECK (double) CHECK (longdouble) +#ifdef INT64_MAX CHECK (int64_t) +#endif CHECK (struct1) CHECK (struct2) CHECK (struct3)