mirror of https://github.com/mpv-player/mpv
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:
parent
5c8b11c226
commit
5a1dc02ec1
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue