QA updates - make builds on older versions of headers work, reenable rt on bruce.
[xfstests-dev.git] / src / loggen.c
index 4e3bd9aef1e7a147b7e41c71d863dd811b2d681d..daa773b2ebac325110013ba12212f0d7f8e8abd4 100644 (file)
 #include <xfs/xfs_log.h>
 #include <xfs/xfs_log_priv.h>
 
+#ifndef ASSIGN_ANY_LSN_DISK
+#define ASSIGN_ANY_LSN_DISK(lsn,cycle,block)  \
+    { \
+       INT_SET(((uint *)&(lsn))[0], ARCH_CONVERT, (cycle)); \
+       INT_SET(((uint *)&(lsn))[1], ARCH_CONVERT, (block)); \
+    }
+#endif
+
 void
 usage(void)
 {