util: Predicate the fpclassify fallback on !defined(__cplusplus)
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 28 Jan 2015 18:38:01 +0000 (10:38 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 28 Jan 2015 19:47:56 +0000 (11:47 -0800)
commit58e8468d113c7d3d4a59ea4a8d70fd45b78e85e6
treea54e97ed477f39e37df40741e54e60b85e1e2288
parent3b7747c022bae842b21c810ac72513844ff9fc26
util: Predicate the fpclassify fallback on !defined(__cplusplus)

The problem is that the fallbacks we have at the moment don't work in C++.
While we could theoretically fix the fallbacks it would also raise the
issue of correctly detecting the fpclassify function.  So, for now, we'll
just disable it until we actually have a C++ user.

Reported-by: Tom Stellard <thomas.stellard@amd.com>
Tested-by: Tom Stellard <thomas.stellard@amd.com>
Tested-by: EdB <edb+mesa@sigluy.net>
src/util/macros.h