1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
Description: Set _FILE_OFFSET_BITS to 64 when _TIME_BITS is 64.
Otherwise, build fails on some architectures after the t64 transition with
"_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64".
Author: Doug Torrance <dtorrance@debian.org>
Forwarded: not-needed
Last-Update: 2024-04-03
--- a/nauty-h.in
+++ b/nauty-h.in
@@ -96,6 +96,10 @@
#undef _FILE_OFFSET_BITS
#endif
+#if _TIME_BITS == 64
+#define _FILE_OFFSET_BITS 64
+#endif
+
/* Support of gcc extensions __builtin_clz, __builtin_clzl, __builtin_clzll */
#ifndef HAVE_HWLZCNT
#define HAVE_HWLZCNT @have_hwlzcnt@
|