mirror of
https://github.com/mpv-player/mpv
synced 2025-01-09 08:29:36 +00:00
Remove pointless egcs #ifdefs; that compiler was never supported.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30539 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
0a3901e1ae
commit
03721390a4
@ -13,10 +13,6 @@
|
||||
|
||||
# include "config.h"
|
||||
|
||||
#ifdef _EGCS_
|
||||
#define __stdcall
|
||||
#endif
|
||||
|
||||
/* Misc. constants. */
|
||||
|
||||
#ifdef FALSE
|
||||
@ -87,11 +83,9 @@
|
||||
|
||||
#ifdef __i386__
|
||||
# if defined(__GNUC__) && ((__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 7)))
|
||||
# ifndef _EGCS_
|
||||
#define __stdcall __attribute__((__stdcall__))
|
||||
#define __cdecl __attribute__((__cdecl__))
|
||||
# define RESTORE_ES __asm__ volatile("pushl %ds\n\tpopl %es")
|
||||
# endif
|
||||
# else
|
||||
// # error You need gcc >= 2.7 to build Wine on a 386
|
||||
# endif
|
||||
@ -456,11 +450,9 @@ typedef LRESULT CALLBACK (*WNDPROC16)(HWND16,UINT16,WPARAM16,LPARAM);
|
||||
/* Macro for structure packing. */
|
||||
|
||||
#ifdef __GNUC__
|
||||
#ifndef _EGCS_
|
||||
#define WINE_PACKED __attribute__((packed))
|
||||
#define WINE_UNUSED __attribute__((unused))
|
||||
#define WINE_NORETURN __attribute__((noreturn))
|
||||
#endif
|
||||
#else
|
||||
#define WINE_PACKED /* nothing */
|
||||
#define WINE_UNUSED /* nothing */
|
||||
|
Loading…
Reference in New Issue
Block a user