From 5a1dc02ec1ac975634b28a7f69fee6eea466413f Mon Sep 17 00:00:00 2001 From: arpi Date: Tue, 4 Jun 2002 20:11:15 +0000 Subject: cygwin & darwin fixes by Joey Parrish git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6303 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 1 + loader/wine/windef.h | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/configure b/configure index 817ac2b353..ab4e44ae59 100755 --- a/configure +++ b/configure @@ -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 -- cgit v1.2.3