Skip to content

Commit

Permalink
Fix guard
Browse files Browse the repository at this point in the history
  • Loading branch information
hp77-creator committed Aug 30, 2024
1 parent 6624e75 commit 4d4bd53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/syscall-server/syscall_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,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 =
Expand Down

0 comments on commit 4d4bd53

Please sign in to comment.