Sha256: 9ea4458603e31acc2b2d5fe8580648ae00b8c9c8e37ce2193af204587944a620
Contents?: true
Size: 578 Bytes
Versions: 18
Compression:
Stored size: 578 Bytes
Contents
/* SPDX-License-Identifier: MIT */ /* * Description: check version macros and runtime checks work * */ #include "liburing.h" #include "helpers.h" int main(int argc, char *argv[]) { if (!IO_URING_CHECK_VERSION(io_uring_major_version(), io_uring_minor_version())) return T_EXIT_FAIL; if (io_uring_major_version() != IO_URING_VERSION_MAJOR) return T_EXIT_FAIL; if (io_uring_minor_version() != IO_URING_VERSION_MINOR) return T_EXIT_FAIL; #if !IO_URING_CHECK_VERSION(IO_URING_VERSION_MAJOR, IO_URING_VERSION_MINOR) return T_EXIT_FAIL; #endif return T_EXIT_PASS; }
Version data entries
18 entries across 18 versions & 1 rubygems