DECL_TEMPLATE(freebsd, sys_membarrier) // 584
#endif
-#if (FREEBSD_VERS >= FREEBSD_14_0)
+#if (FREEBSD_VERS >= FREEBSD_14_0) || (FREEBSD_VERS >= FREEBSD_13_4)
DECL_TEMPLATE(freebsd, sys_timerfd_create) // 585
DECL_TEMPLATE(freebsd, sys_timerfd_gettime) // 586
DECL_TEMPLATE(freebsd, sys_timerfd_settime) // 587
-#if (FREEBSD_VERS >= FREEBSD_14_1)
-DECL_TEMPLATE(freebsd, sys_kcmp) // 588
#endif
+
+#if (FREEBSD_VERS >= FREEBSD_14_1) || (FREEBSD_VERS >= FREEBSD_13_4)
+DECL_TEMPLATE(freebsd, sys_kcmp) // 588
#endif
DECL_TEMPLATE(freebsd, sys_fake_sigreturn)
#endif
-#if (FREEBSD_VERS >= FREEBSD_14_0)
+#if (FREEBSD_VERS >= FREEBSD_14_0) || (FREEBSD_VERS >= FREEBSD_13_4)
// SYS_timerfd_create 585
// int timerfd_create(int clockid, int flags);
}
}
-#if (FREEBSD_VERS >= FREEBSD_14_1)
+#endif // FREEBSD_14_0 or FREEDSD_13_4
+
+#if (FREEBSD_VERS >= FREEBSD_14_1) || (FREEBSD_VERS >= FREEBSD_13_4)
// SYS_kcmp 588
// int kcmp(pid_t pid1, pid_t pid2, int type, uintptr_t idx1, uintptr_t idx2);
}
}
-#endif // FREEBSD_14_1
-
-#endif // FREEBSD_14_0
+#endif // FREEBSD_14_1 or FREEDSD_13_4
#undef PRE
#undef POST
BSDXY(__NR_kqueuex, sys_kqueuex), // 583
BSDX_(__NR_membarrier, sys_membarrier), // 584
#endif
-#if (FREEBSD_VERS >= FREEBSD_14_0)
+#if (FREEBSD_VERS >= FREEBSD_14_0) || (FREEBSD_VERS >= FREEBSD_13_4)
BSDXY(__NR_timerfd_create, sys_timerfd_create), // 585
BSDXY(__NR_timerfd_settime, sys_timerfd_settime), // 586
BSDXY(__NR_timerfd_gettime, sys_timerfd_gettime), // 587
-#if (FREEBSD_VERS >= FREEBSD_14_1)
- BSDX_(__NR_kcmp, sys_kcmp), // 588
#endif
+#if (FREEBSD_VERS >= FREEBSD_14_1) || (FREEBSD_VERS >= FREEBSD_13_4)
+ BSDX_(__NR_kcmp, sys_kcmp), // 588
#endif
+
BSDX_(__NR_fake_sigreturn, sys_fake_sigreturn), // 1000, fake sigreturn
};
#endif
-#if (FREEBSD_VERS >= FREEBSD_14_0)
+#if (FREEBSD_VERS >= FREEBSD_14_0) || (FREEBSD_VERS >= FREEBSD_13_4)
+
#define __NR_timerfd_create 585
#define __NR_timerfd_gettime 586
#define __NR_timerfd_settime 587
-#if (FREEBSD_VERS >= FREEBSD_14_1)
-#define __NR_kcmp 588
+
#endif
+#if (FREEBSD_VERS >= FREEBSD_14_1) || (FREEBSD_VERS >= FREEBSD_13_3)
+
+#define __NR_kcmp 588
+
#endif
#define __NR_fake_sigreturn 1000