fix: ifdef linux specific cpu count compat
[userspace-rcu.git] / tests / unit / test_get_max_cpuid_from_mask.c
index 435bb5c6fda55fdfd28d079359ff50050fc5ffc2..25a2417f4947c91d530adcdb92e7d176840f9877 100644 (file)
@@ -10,6 +10,7 @@
 
 #include "compat-smp.h"
 
+#ifdef __linux__
 struct parse_test_data {
        const char *buf;
        int expected;
@@ -75,3 +76,13 @@ int main(void)
 
        return exit_status();
 }
+
+#else
+
+int main(void)
+{
+       plan_skip_all("Linux specific tests.");
+
+       return exit_status();
+}
+#endif
This page took 0.0226 seconds and 4 git commands to generate.