Skip to content

Commit 0274469

Browse files
committed
Fix nginx_with_fstack setting up segment faults on arm64 platform
1 parent e3636d6 commit 0274469

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

freebsd/arm64/include/pcpu.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ get_curthread(void)
6464
}
6565

6666
#define curthread get_curthread()
67+
#undef curthread
6768

6869
#define PCPU_GET(member) (get_pcpu()->pc_ ## member)
6970
#define PCPU_ADD(member, value) (get_pcpu()->pc_ ## member += (value))

0 commit comments

Comments
 (0)