# HG changeset patch # User arpi # Date 1023221475 0 # Node ID aa9aca7772defdc75e1166fcabc90f430a7818bd # Parent 41c680dcf91540d6b65bf447d6bec63839314b1d cygwin & darwin fixes by Joey Parrish diff -r 41c680dcf915 -r aa9aca7772de configure --- a/configure Tue Jun 04 20:09:43 2002 +0000 +++ b/configure Tue Jun 04 20:11:15 2002 +0000 @@ -3745,6 +3745,7 @@ if cygwin ; then _confcygwin='TARGET_CYGWIN = yes' _def_confwin32='#define WIN32' + CFLAGS="$CFLAGS -D__CYGWIN__ -D__CYGWIN_USE_BIG_TYPES__" else _confcygwin="TARGET_CYGWIN = no" fi diff -r 41c680dcf915 -r aa9aca7772de loader/wine/windef.h --- a/loader/wine/windef.h Tue Jun 04 20:09:43 2002 +0000 +++ b/loader/wine/windef.h Tue Jun 04 20:11:15 2002 +0000 @@ -127,18 +127,24 @@ #define PASCAL __stdcall #define pascal __stdcall #define _pascal __stdcall +#if !defined(__CYGWIN__) #define _stdcall __stdcall +#endif #define _fastcall __stdcall #define __fastcall __stdcall #define __export __stdcall #define CDECL __cdecl #define _CDECL __cdecl #define cdecl __cdecl +#if !defined(__CYGWIN__) #define _cdecl __cdecl +#endif #define WINAPIV __cdecl #define APIENTRY WINAPI +#if !defined(__CYGWIN__) #define __declspec(x) +#endif #define dllimport #define dllexport