diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-06-04 20:11:15 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-06-04 20:11:15 +0000 |
commit | 5a1dc02ec1ac975634b28a7f69fee6eea466413f (patch) | |
tree | 8c46ab2207e2034fe85617ff0debb566ad8cbbff | |
parent | 5c8b11c2267a724ab069baa712a0361c308def13 (diff) |
cygwin & darwin fixes by Joey Parrish <joey@yunamusic.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6303 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-x | configure | 1 | ||||
-rw-r--r-- | loader/wine/windef.h | 6 |
2 files changed, 7 insertions, 0 deletions
@@ -3745,6 +3745,7 @@ echores "$_ftello" 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 --git a/loader/wine/windef.h b/loader/wine/windef.h index 71980486e5..5c0e80db0d 100644 --- a/loader/wine/windef.h +++ b/loader/wine/windef.h @@ -127,18 +127,24 @@ extern "C" { #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 |