Mercurial > mplayer.hg
changeset 6302:aa9aca7772de
cygwin & darwin fixes by Joey Parrish <joey@yunamusic.com>
author | arpi |
---|---|
date | Tue, 04 Jun 2002 20:11:15 +0000 |
parents | 41c680dcf915 |
children | ad98962908ac |
files | configure loader/wine/windef.h |
diffstat | 2 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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