Re: [Mesa-dev] [PATCH 1/2] util: Move the alternate fpclassify implementation to util

2015-01-26 Thread Jason Ekstrand
On Mon, Jan 26, 2015 at 3:27 PM, Ian Romanick wrote: > I think the functions in the header file need to be 'static inline'. > Otherwise linking will fail platforms that don't have fpclassify... > which defeats the purpose. :) > done > > On 01/26/2015 02:22 PM, Jason Ekstrand wrote: > > --- > >

Re: [Mesa-dev] [PATCH 1/2] util: Move the alternate fpclassify implementation to util

2015-01-26 Thread Ian Romanick
I think the functions in the header file need to be 'static inline'. Otherwise linking will fail platforms that don't have fpclassify... which defeats the purpose. :) On 01/26/2015 02:22 PM, Jason Ekstrand wrote: > --- > src/mesa/main/querymatrix.c | 51 +--

[Mesa-dev] [PATCH 1/2] util: Move the alternate fpclassify implementation to util

2015-01-26 Thread Jason Ekstrand
--- src/mesa/main/querymatrix.c | 51 +--- src/util/macros.h | 52 + 2 files changed, 53 insertions(+), 50 deletions(-) diff --git a/src/mesa/main/querymatrix.c b/src/mesa/main/querymatrix.c index ef8517