Alexandre Julliard : libwine: Don' t export wine_ldt_copy for the Windows build.
Alexandre Julliard
julliard at winehq.org
Mon Sep 28 11:54:40 CDT 2009
Module: wine
Branch: master
Commit: f93c9d9b13530c579f4b89d17859154a625372c2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f93c9d9b13530c579f4b89d17859154a625372c2
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Sep 28 14:55:52 2009 +0200
libwine: Don't export wine_ldt_copy for the Windows build.
---
include/wine/library.h | 13 +------------
libs/wine/ldt.c | 1 -
libs/wine/wine.def | 1 -
3 files changed, 1 insertions(+), 14 deletions(-)
diff --git a/include/wine/library.h b/include/wine/library.h
index 474cfb2..9ff1910 100644
--- a/include/wine/library.h
+++ b/include/wine/library.h
@@ -102,19 +102,8 @@ static inline void wine_ldt_init_fs( unsigned short sel, const LDT_ENTRY *entry
static inline void wine_ldt_free_fs( unsigned short sel ) { }
#endif /* __i386__ */
-
/* the local copy of the LDT */
-#ifdef __CYGWIN__
-# ifdef WINE_EXPORT_LDT_COPY
-# define WINE_LDT_EXTERN __declspec(dllexport)
-# else
-# define WINE_LDT_EXTERN __declspec(dllimport)
-# endif
-#else
-# define WINE_LDT_EXTERN extern
-#endif
-
-WINE_LDT_EXTERN struct __wine_ldt_copy
+extern struct __wine_ldt_copy
{
void *base[8192]; /* base address or 0 if entry is free */
unsigned long limit[8192]; /* limit in bytes or 0 if entry is free */
diff --git a/libs/wine/ldt.c b/libs/wine/ldt.c
index 80ceba8..7475d51 100644
--- a/libs/wine/ldt.c
+++ b/libs/wine/ldt.c
@@ -31,7 +31,6 @@
#include "windef.h"
#include "winbase.h"
-#define WINE_EXPORT_LDT_COPY
#include "wine/library.h"
#ifdef __i386__
diff --git a/libs/wine/wine.def b/libs/wine/wine.def
index a99c170..b94397a 100644
--- a/libs/wine/wine.def
+++ b/libs/wine/wine.def
@@ -87,7 +87,6 @@ EXPORTS
wine_init_argv0_path
wine_is_dbcs_leadbyte
wine_ldt_alloc_entries
- wine_ldt_copy
wine_ldt_free_entries
wine_ldt_get_entry
wine_ldt_get_ptr
More information about the wine-cvs
mailing list