summaryrefslogtreecommitdiff
path: root/devel/nasm/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'devel/nasm/patches/patch-ad')
-rw-r--r--devel/nasm/patches/patch-ad2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/nasm/patches/patch-ad b/devel/nasm/patches/patch-ad
index c1e25e516da..232b8b36526 100644
--- a/devel/nasm/patches/patch-ad
+++ b/devel/nasm/patches/patch-ad
@@ -207,7 +207,7 @@
+ if (align != (align & -align)) {
+ return -1;
+ } else {
-+#ifdef __GNUC__
++#if defined(__GNUC__) && GCC_VERSION >= 3004
+ return (align ? __builtin_ctzl (align) : 0);
+#else
+ unsigned long result = 0;