OSDN Git Service

Fix build with -std=c11
authorTom Anderson <thomasanderson@chromium.org>
Wed, 25 Jul 2018 19:06:29 +0000 (12:06 -0700)
committerEric Engestrom <eric.engestrom@intel.com>
Wed, 5 Sep 2018 12:09:29 +0000 (13:09 +0100)
commitb06d71bb2244d20ee3643c47c0de5f9d98b99ef5
tree6c85b563d34940ca00976668e5c88d77e0e275af
parent4a9030dc8b732846a0e0784e4c577cc0f081f64d
Fix build with -std=c11

typeof() is a GNU extension that will only work when the compiler is passed
-std=gnu*.  __typeof__() works with -std=c*, however.
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
util_math.h