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"