Revert "libwine: Move string functions to libwine_port."

This reverts commit 47242d25f5.
It breaks in modules that import msvcrt because it uses libc
functions.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-03-29 21:07:59 +01:00
parent bd678b0b20
commit a02b23e418
4 changed files with 4 additions and 6 deletions

View File

@ -101,7 +101,6 @@ C_SRCS = \
sortkey.c \ sortkey.c \
spawn.c \ spawn.c \
statvfs.c \ statvfs.c \
string.c \
strnlen.c \ strnlen.c \
symlink.c \ symlink.c \
usleep.c \ usleep.c \

View File

@ -6,7 +6,8 @@ C_SRCS = \
ldt.c \ ldt.c \
loader.c \ loader.c \
mmap.c \ mmap.c \
port.c port.c \
string.c
EXTRA_OBJS = version.o EXTRA_OBJS = version.o

View File

@ -25,7 +25,6 @@
#include <string.h> #include <string.h>
#include <sys/types.h> #include <sys/types.h>
#define WINE_UNICODE_INLINE /* nothing */
#include "wine/unicode.h" #include "wine/unicode.h"
#include "wine/library.h" #include "wine/library.h"
@ -34,8 +33,6 @@
#ifndef __ANDROID__ #ifndef __ANDROID__
const void *libwine_port_functions[] = const void *libwine_port_functions[] =
{ {
strtolW,
vsnprintfW,
wine_compare_string, wine_compare_string,
wine_cp_enum_table, wine_cp_enum_table,
wine_cp_get_table, wine_cp_get_table,

View File

@ -23,6 +23,7 @@
#include <limits.h> #include <limits.h>
#include <stdio.h> #include <stdio.h>
#define WINE_UNICODE_INLINE /* nothing */
#include "wine/unicode.h" #include "wine/unicode.h"
int strcmpiW( const WCHAR *str1, const WCHAR *str2 ) int strcmpiW( const WCHAR *str1, const WCHAR *str2 )