# HG changeset patch # User diego # Date 1265928874 0 # Node ID e6f8fe4a27dc5f472b8b484115f3b05719f9b931 # Parent 26f673ba0675979b01e661b3b9350bc7e08ba0fe Remove pointless egcs #ifdefs; that compiler was never supported. diff -r 26f673ba0675 -r e6f8fe4a27dc loader/wine/windef.h --- a/loader/wine/windef.h Thu Feb 11 14:33:57 2010 +0000 +++ b/loader/wine/windef.h Thu Feb 11 22:54:34 2010 +0000 @@ -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 @@ /* 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 */