Commit c3dde5d5 authored by Alexandre Julliard's avatar Alexandre Julliard

dmscript: Build with msvcrt.

parent a4208538
MODULE = dmscript.dll MODULE = dmscript.dll
IMPORTS = dxguid uuid ole32 advapi32 IMPORTS = dxguid uuid ole32 advapi32
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \ C_SRCS = \
dmobject.c \ dmobject.c \
dmscript_main.c \ dmscript_main.c \
......
...@@ -17,8 +17,6 @@ ...@@ -17,8 +17,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "config.h"
#include "wine/port.h"
#include <stdarg.h> #include <stdarg.h>
......
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
#include "wine/debug.h" #include "wine/debug.h"
#include "wine/list.h" #include "wine/list.h"
#include "wine/unicode.h"
#include "winreg.h" #include "winreg.h"
#include "objbase.h" #include "objbase.h"
......
...@@ -18,12 +18,8 @@ ...@@ -18,12 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "config.h"
#include "wine/port.h"
#ifdef HAVE_UNISTD_H #include <stdio.h>
#include <unistd.h>
#endif
#include "dmscript_private.h" #include "dmscript_private.h"
#include "dmobject.h" #include "dmobject.h"
...@@ -313,7 +309,7 @@ static HRESULT WINAPI IPersistStreamImpl_Load(IPersistStream *iface, IStream *pS ...@@ -313,7 +309,7 @@ static HRESULT WINAPI IPersistStreamImpl_Load(IPersistStream *iface, IStream *pS
WideCharToMultiByte(CP_ACP, 0, This->pwzSource, -1, str, count, NULL, NULL); WideCharToMultiByte(CP_ACP, 0, This->pwzSource, -1, str, count, NULL, NULL);
str[count-1] = '\n'; str[count-1] = '\n';
TRACE("source:\n"); TRACE("source:\n");
write( 2, str, count ); fwrite( str, 1, count, stderr );
HeapFree(GetProcessHeap(), 0, str); HeapFree(GetProcessHeap(), 0, str);
} }
break; break;
......
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