diff --git a/runtime/syscall-server/syscall_context.cpp b/runtime/syscall-server/syscall_context.cpp index 8af3fcc2..6acf18cc 100644 --- a/runtime/syscall-server/syscall_context.cpp +++ b/runtime/syscall-server/syscall_context.cpp @@ -50,7 +50,7 @@ .imm = IMM }) #endif -#if linux && !BPFTIME_BUILD_WITH_LIBBPF +#if __linux__ && !BPFTIME_BUILD_WITH_LIBBPF #define offsetofend(type, member) (offsetof(type, member) + sizeof(((type *)0)->member)) static void *libc_handle = dlopen(LIBC_SO, RTLD_LAZY); static auto libc_syscall =