libwine: Move string functions to libwine_port.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5aa83bee08
commit
47242d25f5
|
@ -101,6 +101,7 @@ C_SRCS = \
|
|||
sortkey.c \
|
||||
spawn.c \
|
||||
statvfs.c \
|
||||
string.c \
|
||||
strnlen.c \
|
||||
symlink.c \
|
||||
usleep.c \
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#include <limits.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define WINE_UNICODE_INLINE /* nothing */
|
||||
#include "wine/unicode.h"
|
||||
|
||||
int strcmpiW( const WCHAR *str1, const WCHAR *str2 )
|
||||
|
@ -473,7 +472,7 @@ int vsnprintfW(WCHAR *str, size_t len, const WCHAR *format, va_list valist)
|
|||
*fmta = '\0';
|
||||
if (*iter == 'a' || *iter == 'A' ||
|
||||
*iter == 'e' || *iter == 'E' ||
|
||||
*iter == 'f' || *iter == 'F' ||
|
||||
*iter == 'f' || *iter == 'F' ||
|
||||
*iter == 'g' || *iter == 'G')
|
||||
sprintf(bufaiter, fmtbufa, va_arg(valist, double));
|
||||
else
|
|
@ -6,8 +6,7 @@ C_SRCS = \
|
|||
ldt.c \
|
||||
loader.c \
|
||||
mmap.c \
|
||||
port.c \
|
||||
string.c
|
||||
port.c
|
||||
|
||||
EXTRA_OBJS = version.o
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#define WINE_UNICODE_INLINE /* nothing */
|
||||
#include "wine/unicode.h"
|
||||
#include "wine/library.h"
|
||||
|
||||
|
@ -33,6 +34,8 @@
|
|||
#ifndef __ANDROID__
|
||||
const void *libwine_port_functions[] =
|
||||
{
|
||||
strtolW,
|
||||
vsnprintfW,
|
||||
wine_compare_string,
|
||||
wine_cp_enum_table,
|
||||
wine_cp_get_table,
|
||||
|
|
Loading…
Reference in New Issue