Date: Tue, 25 Dec 2012 16:44:50 +0000 (UTC) From: Attilio Rao <attilio@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r244685 - user/attilio/membarclean/sys Message-ID: <201212251644.qBPGiobA091479@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: attilio Date: Tue Dec 25 16:44:50 2012 New Revision: 244685 URL: http://svnweb.freebsd.org/changeset/base/244685 Log: Fix up the bultin detection for the time being. Modified: user/attilio/membarclean/sys/cdefs.h Modified: user/attilio/membarclean/sys/cdefs.h ============================================================================== --- user/attilio/membarclean/sys/cdefs.h Tue Dec 25 16:36:38 2012 (r244684) +++ user/attilio/membarclean/sys/cdefs.h Tue Dec 25 16:44:50 2012 (r244685) @@ -229,9 +229,7 @@ #define __alignof(x) __offsetof(struct { char __a; x __b; }, __b) #endif -#if defined(__GNUC__) && \ - ((defined(__clang__) && __has_builtin(__builtin_prefetch)) || \ - __GNUC_PREREQ__(3, 0)) +#if defined(__GNUC__) && __GNUC_PREREQ__(3, 0) #define PRFTCH_RD 0 #define PRFTCH_WR 1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212251644.qBPGiobA091479>