about summary refs log tree commit diff homepage
path: root/runtime/POSIX/stubs.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/POSIX/stubs.c')
-rw-r--r--runtime/POSIX/stubs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/POSIX/stubs.c b/runtime/POSIX/stubs.c
index 5d27ac43..668d8cf2 100644
--- a/runtime/POSIX/stubs.c
+++ b/runtime/POSIX/stubs.c
@@ -432,7 +432,7 @@ int swapon(const char *path) {
 #ifndef __FreeBSD__
 int swapoff(const char *path) __attribute__((weak));
 int swapoff(const char *path) {
-#elif __FreeBSD__ < 13
+#elif __FreeBSD_version < 1300523
 int swapoff(const char *path) __attribute__((weak));
 int swapoff(const char *path) {
 #else