mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 21:54:14 +00:00
sapi: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b2d8966492
commit
5dedd2c641
|
@ -1,6 +1,8 @@
|
|||
MODULE = sapi.dll
|
||||
IMPORTS = uuid ole32 user32 advapi32
|
||||
|
||||
EXTRADLLFLAGS = -mno-cygwin
|
||||
|
||||
C_SRCS = \
|
||||
main.c \
|
||||
token.c
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include <stdarg.h>
|
||||
|
||||
#define COBJMACROS
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
|
|
|
@ -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++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue