cygwin & darwin fixes by Joey Parrish <joey@yunamusic.com>

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6303 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-06-04 20:11:15 +00:00
parent 5c8b11c226
commit 5a1dc02ec1
2 changed files with 7 additions and 0 deletions

1
configure vendored
View File

@ -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

View File

@ -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