Commit 95209b39 authored by Jeroen Janssen's avatar Jeroen Janssen Committed by Alexandre Julliard

Fixed wine_ldt_copy importing on cygwin.

parent 9b0b1e07
......@@ -72,7 +72,17 @@ extern void wine_ldt_get_entry( unsigned short sel, LDT_ENTRY *entry );
extern int wine_ldt_set_entry( unsigned short sel, const LDT_ENTRY *entry );
/* the local copy of the LDT */
extern struct __wine_ldt_copy
#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
{
void *base[8192]; /* base address or 0 if entry is free */
unsigned long limit[8192]; /* limit in bytes or 0 if entry is free */
......
......@@ -28,6 +28,7 @@
#include <errno.h>
#include "winbase.h"
#define WINE_EXPORT_LDT_COPY
#include "wine/library.h"
#ifdef __i386__
......
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