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

This commit is contained in:
Francois Gouget 2012-06-01 16:56:21 +02:00 committed by Alexandre Julliard
parent 78d6a8ca04
commit 19ba80e7c2
19 changed files with 31 additions and 0 deletions

View file

@ -28,6 +28,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <math.h>
#include <stdio.h>

View file

@ -19,6 +19,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <math.h>
#include <stdio.h>

View file

@ -20,10 +20,13 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#ifdef HAVE_FLOAT_H
# include <float.h>
#endif
#include "wined3d_private.h"
WINE_DEFAULT_DEBUG_CHANNEL(d3d);

View file

@ -25,10 +25,13 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#ifdef HAVE_FLOAT_H
# include <float.h>
#endif
#include "wined3d_private.h"
WINE_DEFAULT_DEBUG_CHANNEL(d3d);

View file

@ -22,7 +22,10 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#include "wined3d_private.h"
WINE_DEFAULT_DEBUG_CHANNEL(d3d);

View file

@ -19,10 +19,13 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#ifdef HAVE_FLOAT_H
# include <float.h>
#endif
#include "wined3d_private.h"
WINE_DEFAULT_DEBUG_CHANNEL(gl_compat);

View file

@ -30,8 +30,11 @@
*/
#include "config.h"
#include "wine/port.h"
#include <limits.h>
#include <stdio.h>
#include "wined3d_private.h"
WINE_DEFAULT_DEBUG_CHANNEL(d3d_shader);

View file

@ -20,6 +20,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include "wine/port.h"
#include <math.h>
#include <stdio.h>

View file

@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include "wine/port.h"
#include "winerror.h"
#include "wine/debug.h"

View file

@ -20,6 +20,7 @@
#include "config.h"
#include "wine/port.h"
#include "wined3d_private.h"
WINE_DEFAULT_DEBUG_CHANNEL(d3d);

View file

@ -21,6 +21,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include "wined3d_private.h"
WINE_DEFAULT_DEBUG_CHANNEL(d3d);

View file

@ -23,6 +23,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <math.h>
#include <stdio.h>

View file

@ -26,10 +26,13 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#ifdef HAVE_FLOAT_H
# include <float.h>
#endif
#include "wined3d_private.h"
WINE_DEFAULT_DEBUG_CHANNEL(d3d);

View file

@ -23,6 +23,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include "wined3d_private.h"
WINE_DEFAULT_DEBUG_CHANNEL(d3d);

View file

@ -21,6 +21,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include "wined3d_private.h"
WINE_DEFAULT_DEBUG_CHANNEL(d3d);

View file

@ -21,6 +21,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include "wined3d_private.h"
WINE_DEFAULT_DEBUG_CHANNEL(d3d_texture);

View file

@ -23,6 +23,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include "wined3d_private.h"
WINE_DEFAULT_DEBUG_CHANNEL(d3d_decl);

View file

@ -20,6 +20,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include "wined3d_private.h"
WINE_DEFAULT_DEBUG_CHANNEL(d3d_surface);

View file

@ -23,6 +23,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include "initguid.h"
#include "wined3d_private.h"