changeset 30497:e6f8fe4a27dc

Remove pointless egcs #ifdefs; that compiler was never supported.
author diego
date Thu, 11 Feb 2010 22:54:34 +0000
parents 26f673ba0675
children e68460fb7693
files loader/wine/windef.h
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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 */