Commit 21faa3dfe8e691c62acb3e1e8b24f49aad25cea0

Thomas de Grivel 2025-04-08T18:21:23

wip freebsd

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/libkc3/env.c b/libkc3/env.c
index 00d07a1..0bce7f3 100644
--- a/libkc3/env.c
+++ b/libkc3/env.c
@@ -1193,7 +1193,7 @@ s_env * env_init_globals (s_env *env)
                                   &g_sym_ncpu)))
     return NULL;
 #if HAVE_PTHREAD
-# if (defined(__OpenBSD__))
+# if (defined(__FreeBSD__) || defined(__OpenBSD__))
   {
     s32 mib[2];
     s32 hw_ncpu;