From: nasm-bot f. C. G. <gor...@gm...> - 2018-02-24 12:15:43
|
Commit-ID: fff27ab229c71b36e7d31a50ebae5088360332c8 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=fff27ab229c71b36e7d31a50ebae5088360332c8 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sat, 24 Feb 2018 15:11:32 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sat, 24 Feb 2018 15:11:32 +0300 compiler: Fix typo in 6686fc6 https://bugzilla.nasm.us/show_bug.cgi?id=3392464 Reported-by: se...@gm... Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- include/compiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/compiler.h b/include/compiler.h index aba773e..fb146af 100644 --- a/include/compiler.h +++ b/include/compiler.h @@ -296,7 +296,7 @@ size_t strnlen(const char *s, size_t maxlen); * This differs from unlikely() in that it is applied to a function call, * not a boolean condition. */ -#ifndef HAVE_FUNC_ATTRIBUTE_COLD +#ifdef HAVE_FUNC_ATTRIBUTE_COLD # define unlikely_func __attribute__((cold)) #else # define unlikely_func |