Commit f93c9d9b authored by Alexandre Julliard's avatar Alexandre Julliard

libwine: Don't export wine_ldt_copy for the Windows build.

parent f4878f08
...@@ -102,19 +102,8 @@ static inline void wine_ldt_init_fs( unsigned short sel, const LDT_ENTRY *entry ...@@ -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 ) { } static inline void wine_ldt_free_fs( unsigned short sel ) { }
#endif /* __i386__ */ #endif /* __i386__ */
/* the local copy of the LDT */ /* the local copy of the LDT */
#ifdef __CYGWIN__ extern struct __wine_ldt_copy
# 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
{ {
void *base[8192]; /* base address or 0 if entry is free */ void *base[8192]; /* base address or 0 if entry is free */
unsigned long limit[8192]; /* limit in bytes or 0 if entry is free */ unsigned long limit[8192]; /* limit in bytes or 0 if entry is free */
......
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
#define WINE_EXPORT_LDT_COPY
#include "wine/library.h" #include "wine/library.h"
#ifdef __i386__ #ifdef __i386__
......
...@@ -87,7 +87,6 @@ EXPORTS ...@@ -87,7 +87,6 @@ EXPORTS
wine_init_argv0_path wine_init_argv0_path
wine_is_dbcs_leadbyte wine_is_dbcs_leadbyte
wine_ldt_alloc_entries wine_ldt_alloc_entries
wine_ldt_copy
wine_ldt_free_entries wine_ldt_free_entries
wine_ldt_get_entry wine_ldt_get_entry
wine_ldt_get_ptr wine_ldt_get_ptr
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment