Commit 7f2be06f authored by Alexandre Julliard's avatar Alexandre Julliard

d3dx10: Build with msvcrt.

parent c70e8b64
MODULE = d3dx10_33.dll
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
d3dx10_33_main.c
......
......@@ -19,9 +19,6 @@
*
*/
#include "config.h"
#include "wine/port.h"
#include <stdarg.h>
#define COBJMACROS
......
MODULE = d3dx10_34.dll
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
d3dx10_34_main.c
......
......@@ -19,9 +19,6 @@
*
*/
#include "config.h"
#include "wine/port.h"
#include <stdarg.h>
#define COBJMACROS
......
MODULE = d3dx10_35.dll
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
d3dx10_35_main.c
......
......@@ -19,9 +19,6 @@
*
*/
#include "config.h"
#include "wine/port.h"
#include <stdarg.h>
#define COBJMACROS
......
MODULE = d3dx10_36.dll
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
d3dx10_36_main.c
......
......@@ -19,9 +19,6 @@
*
*/
#include "config.h"
#include "wine/port.h"
#include <stdarg.h>
#define COBJMACROS
......
MODULE = d3dx10_37.dll
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
d3dx10_37_main.c
......
......@@ -19,9 +19,6 @@
*
*/
#include "config.h"
#include "wine/port.h"
#include <stdarg.h>
#define COBJMACROS
......
MODULE = d3dx10_38.dll
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
d3dx10_38_main.c
......
......@@ -19,9 +19,6 @@
*
*/
#include "config.h"
#include "wine/port.h"
#include <stdarg.h>
#define COBJMACROS
......
MODULE = d3dx10_39.dll
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
d3dx10_39_main.c
......
......@@ -19,9 +19,6 @@
*
*/
#include "config.h"
#include "wine/port.h"
#include <stdarg.h>
#define COBJMACROS
......
MODULE = d3dx10_40.dll
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
d3dx10_40_main.c
......
......@@ -19,9 +19,6 @@
*
*/
#include "config.h"
#include "wine/port.h"
#include <stdarg.h>
#define COBJMACROS
......
MODULE = d3dx10_41.dll
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
d3dx10_41_main.c
......
......@@ -19,9 +19,6 @@
*
*/
#include "config.h"
#include "wine/port.h"
#include <stdarg.h>
#define COBJMACROS
......
MODULE = d3dx10_42.dll
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
d3dx10_42_main.c
......
......@@ -19,9 +19,6 @@
*
*/
#include "config.h"
#include "wine/port.h"
#include <stdarg.h>
#define COBJMACROS
......
......@@ -2,6 +2,8 @@ MODULE = d3dx10_43.dll
IMPORTLIB = d3dx10
IMPORTS = d3d10_1 d3dcompiler dxguid
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
async.c \
d3dx10_43_main.c
......
......@@ -16,14 +16,11 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include "wine/port.h"
#include "d3d10_1.h"
#include "d3dx10.h"
#include "d3dcompiler.h"
#include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL(d3dx);
......@@ -318,13 +315,13 @@ HRESULT WINAPI D3DX10CreateAsyncFileLoaderW(const WCHAR *filename, ID3DX10DataLo
return E_OUTOFMEMORY;
object->ID3DX10DataLoader_iface.lpVtbl = &filedataloadervtbl;
object->u.file.path = HeapAlloc(GetProcessHeap(), 0, (strlenW(filename) + 1) * sizeof(WCHAR));
object->u.file.path = HeapAlloc(GetProcessHeap(), 0, (lstrlenW(filename) + 1) * sizeof(WCHAR));
if (!object->u.file.path)
{
HeapFree(GetProcessHeap(), 0, object);
return E_OUTOFMEMORY;
}
strcpyW(object->u.file.path, filename);
lstrcpyW(object->u.file.path, filename);
object->data = NULL;
object->size = 0;
......
......@@ -19,10 +19,7 @@
*
*/
#include "config.h"
#include "wine/port.h"
#include "wine/debug.h"
#include "wine/unicode.h"
#include <stdarg.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment