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

This commit is contained in:
Alexandre Julliard 2009-09-28 14:55:52 +02:00
parent f4878f0859
commit f93c9d9b13
3 changed files with 1 additions and 14 deletions

View File

@ -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 */

View File

@ -31,7 +31,6 @@
#include "windef.h"
#include "winbase.h"
#define WINE_EXPORT_LDT_COPY
#include "wine/library.h"
#ifdef __i386__

View File

@ -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