]> granicus.if.org Git - libjpeg-turbo/commit
Build: Clean up inline keyword detection
authorDRC <information@libjpeg-turbo.org>
Mon, 5 Dec 2016 22:52:54 +0000 (16:52 -0600)
committerDRC <information@libjpeg-turbo.org>
Mon, 5 Dec 2016 22:52:54 +0000 (16:52 -0600)
commit2af2fe42a3c02982a9f7714522d6457acbec6a3d
tree122cf61ce907f443394c69c0e1a8dbf877f3059f
parent261db7706ddea43b3f58beda76919cdfdc1a4cf8
Build: Clean up inline keyword detection

Strict C89-conformant compilers don't support the "inline" keyword, but
most of them support "__inline__", and that keyword can be used with the
always_inline atribute as well.  This commit also removes duplicate code
by using a foreach() loop to test the various keywords.
CMakeLists.txt