sapi: Build with msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
stable
Alexandre Julliard 2019-06-20 09:06:34 +02:00
parent b2d8966492
commit 5dedd2c641
4 changed files with 4 additions and 5 deletions

View File

@ -1,6 +1,8 @@
MODULE = sapi.dll
IMPORTS = uuid ole32 user32 advapi32
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
main.c \
token.c

View File

@ -18,7 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include <stdarg.h>
#define COBJMACROS

View File

@ -19,7 +19,6 @@
*/
#include "wine/heap.h"
#include "wine/unicode.h"
HRESULT data_key_create( IUnknown *outer, REFIID iid, void **obj ) DECLSPEC_HIDDEN;
HRESULT token_category_create( IUnknown *outer, REFIID iid, void **obj ) DECLSPEC_HIDDEN;
@ -32,7 +31,7 @@ static inline LPWSTR heap_strdupW(LPCWSTR str)
if (str)
{
size = (strlenW( str ) + 1) * sizeof(WCHAR);
size = (lstrlenW( str ) + 1) * sizeof(WCHAR);
ret = heap_alloc( size );
if (ret) memcpy( ret, str, size );
}

View File

@ -18,7 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include <stdarg.h>
#define COBJMACROS
@ -387,7 +386,7 @@ static HRESULT parse_cat_id( const WCHAR *str, HKEY *root, const WCHAR **sub_key
{ NULL }
};
struct table *ptr;
int len = strlenW( str );
int len = lstrlenW( str );
for (ptr = table; ptr->name; ptr++)
{