[PATCH 1/5] wined3d: Use NAN.

Francois Gouget fgouget at free.fr
Tue Jun 5 04:53:23 CDT 2012


On Mon, 4 Jun 2012, Ruslan Kabatsayev wrote:

> Hello,
> 
> This patch stops wine from building on my system with following errors:
> 
> In file included from arb_program_shader.c:35:0:
> wined3d_private.h: In function ‘float_16_to_32’:
> wined3d_private.h:203:21: error: ‘NAN’ undeclared (first use in this function)
> wined3d_private.h:203:21: note: each undeclared identifier is reported
> only once for each function it appears in

I sent a patch that should fix this. Did I miss some bit?

commit 19ba80e7c2c9ef054ef5faa921616a5d43f6578d
Author: Francois Gouget <fgouget at free.fr>
Date:   Fri Jun 1 16:56:21 2012 +0200

    wined3d: We must include Wine's port.h before using NAN.


-- 
Francois Gouget <fgouget at free.fr>              http://fgouget.free.fr/
              Linux: Because rebooting is for adding new hardware


More information about the wine-devel mailing list