From f93c9d9b13530c579f4b89d17859154a625372c2 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 28 Sep 2009 14:55:52 +0200 Subject: [PATCH] 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 insertion(+), 14 deletions(-) diff --git a/include/wine/library.h b/include/wine/library.h index 474cfb2d44f..9ff1910e6e6 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 80ceba85db7..7475d51af45 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 a99c170df93..b94397a3b72 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