/*
* Simple random number generator for testing.
- * Copyright © 2022-2023 Nick Bowler
+ * Copyright © 2022-2024 Nick Bowler
*
* Directly compare the test lib RNG against the reference implementation.
*
#include <config.h>
#include "tap.h"
+#if !HAVE_FOR_DECLS
+int main(void)
+{
+ tap_skip_all("cannot compile reference xoshiro256+");
+}
+#else
+#define TEST_RNG_NO_EXTERNAL_API 1
#include "rng.c"
#include "xos256p.c"
tap_done();
}
+#endif