fix: ifdef linux specific cpu count compat
[urcu.git] / tests / unit / test_get_possible_cpus_array_len.c
index ab64d9dbf7fa3e42f95f239ab75f179391fddea0..c5ab2b4b68c7cbc6652f4093d1e425ea6465853d 100644 (file)
@@ -19,8 +19,12 @@ int main(void)
        ret = get_possible_cpus_array_len();
        ok(ret > 0, "get_possible_cpus_array_len (%d > 0)", ret);
 
+#ifdef __linux__
        ret = get_num_possible_cpus_fallback();
        ok(ret > 0, "get_num_possible_cpus_fallback (%d > 0)", ret);
+#else
+       skip(1, "Linux specific test.");
+#endif
 
        return exit_status();
 }
This page took 0.022969 seconds and 4 git commands to generate.