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:
Olivier Houchard 2020-03-20 11:03:38 +01:00
parent 3c516fc989
commit e4ba0d4fc6
1 changed files with 1 additions and 1 deletions

View File

@ -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
/*