summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2018-02-24 15:11:32 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2018-02-24 15:11:32 +0300
commitfff27ab229c71b36e7d31a50ebae5088360332c8 (patch)
tree1f2e5f6eb3c3f0254c73b7dfdced07157d2857d3
parentb9fa743974fabb40c67e97472d06682e183b2761 (diff)
downloadnasm-fff27ab229c71b36e7d31a50ebae5088360332c8.tar.gz
compiler: Fix typo in 6686fc6
https://bugzilla.nasm.us/show_bug.cgi?id=3392464 Reported-by: sezeroz@gmail.com Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
-rw-r--r--include/compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/compiler.h b/include/compiler.h
index aba773e7..fb146af4 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