[flac-dev] about "cpu.h: Fix compiler detection" patch

Erik de Castro Lopo mle+la at mega-nerd.com
Fri Feb 17 08:17:30 UTC 2017


lvqcl wrote:

> Maybe it's simpler to add
> 
> #ifndef __has_attribute
> #define __has_attribute(x) 0
> #endif

Good suggestion. Seems to work. Current PR is here:

    https://github.com/xiph/flac/pull/30

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


More information about the flac-dev mailing list