mirror of
https://github.com/haproxy/haproxy.git
synced 2026-03-09 01:20:40 -04:00
BUG/MEDIUM: build: Fix compilation by spelling decl correctly.
Fix build on architectures for which double-width CAS isn't implemented by spelling __decl_rwlock correctly.
This commit is contained in:
parent
3c516fc989
commit
e4ba0d4fc6
1 changed files with 1 additions and 1 deletions
2
src/fd.c
2
src/fd.c
|
|
@ -336,7 +336,7 @@ static void fd_dodelete(int fd, int do_close)
|
|||
}
|
||||
|
||||
#ifndef HA_HAVE_CAS_DW
|
||||
__decl_hathreads(__delc_rwlock(fd_mig_lock));
|
||||
__decl_hathreads(__decl_rwlock(fd_mig_lock));
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue