Test that gnulib does not break the standard C++ headers.
[pspp] / tests / test-alignof.c
index 8bd5bc19d3f8044cbc9b686bbab3d7f8c730faca..a8b6d18996f0c2d1ad573ea4cbe2a11bad7e315f 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of <alignof.h>.
-   Copyright (C) 2009 Free Software Foundation, Inc.
+   Copyright (C) 2009, 2010 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -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)