]> git.tuebingen.mpg.de Git - dss.git/commitdiff
Only define gcc function attributes on gcc.
authorDaniel Richard G <skunk@iSKUNK.ORG>
Mon, 6 Aug 2012 18:39:53 +0000 (20:39 +0200)
committerAndre Noll <maan@systemlinux.org>
Mon, 6 Aug 2012 21:44:21 +0000 (23:44 +0200)
These gcc extensions help the compiler optimize function calls,
but are unavailable if dss is not compiled with gcc.

This patch defines the corresponding macros to empty if __GNUC__
is not defined, or if the gcc version is too old to support the
particular function attribute.


No differences found