Alexandre Julliard : libwine: Move the wine_fold_string implementation to libwine_port.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Feb 18 10:14:55 CST 2016
Module: wine
Branch: master
Commit: fa84ea255501390b0967d430de6b371149a6ff28
URL: http://source.winehq.org/git/wine.git/?a=commit;h=fa84ea255501390b0967d430de6b371149a6ff28
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Feb 18 14:10:26 2016 +0900
libwine: Move the wine_fold_string implementation to libwine_port.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
libs/port/Makefile.in | 1 +
libs/{wine => port}/fold.c | 0
libs/wine/Makefile.in | 1 -
libs/wine/port.c | 7 +++++++
4 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/libs/port/Makefile.in b/libs/port/Makefile.in
index 23000c9..7301555 100644
--- a/libs/port/Makefile.in
+++ b/libs/port/Makefile.in
@@ -3,6 +3,7 @@ STATICLIB = libwine_port.a
C_SRCS = \
digitmap.c \
ffs.c \
+ fold.c \
fstatvfs.c \
getopt.c \
getopt1.c \
diff --git a/libs/wine/fold.c b/libs/port/fold.c
similarity index 100%
rename from libs/wine/fold.c
rename to libs/port/fold.c
diff --git a/libs/wine/Makefile.in b/libs/wine/Makefile.in
index 1b7fea8..08156da 100644
--- a/libs/wine/Makefile.in
+++ b/libs/wine/Makefile.in
@@ -81,7 +81,6 @@ C_SRCS = \
config.c \
cptable.c \
debug.c \
- fold.c \
ldt.c \
loader.c \
mbtowc.c \
diff --git a/libs/wine/port.c b/libs/wine/port.c
index a532b2d..7e38de7 100644
--- a/libs/wine/port.c
+++ b/libs/wine/port.c
@@ -25,8 +25,15 @@
#include <string.h>
#include <sys/types.h>
+#include "wine/unicode.h"
#include "wine/library.h"
+/* functions from libwine_port that are also exported from libwine for backwards compatibility */
+const void *libwine_port_functions[] =
+{
+ wine_fold_string
+};
+
/* no longer used, for backwards compatibility only */
struct wine_pthread_functions;
static void *pthread_functions[8];
More information about the wine-cvs
mailing list