From 79be64037c91aefeab0320d26d5af7c32274aed7 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Tue, 21 Oct 2003 09:50:47 +0000 Subject: [PATCH] * include/_mingw.h: Define __attribute__((x)) to nothing if not __GNUC__. --- winsup/mingw/ChangeLog | 5 +++++ winsup/mingw/include/_mingw.h | 1 + 2 files changed, 6 insertions(+) diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 00f46153a..4268822f3 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,8 @@ +2003-10-21 Danny Smith + + * include/_mingw.h: Define __attribute__((x)) to nothing + if not __GNUC__. + 2003-10-21 Danny Smith * include/complex.h: New file. diff --git a/winsup/mingw/include/_mingw.h b/winsup/mingw/include/_mingw.h index 3aa445363..c5cbb4cc0 100644 --- a/winsup/mingw/include/_mingw.h +++ b/winsup/mingw/include/_mingw.h @@ -52,6 +52,7 @@ # define _CRTIMP __declspec(dllimport) # endif # define __DECLSPEC_SUPPORTED +# define __attribute__(x) /* nothing */ #else /* __GNUC__ */ # ifdef __declspec # ifndef __MINGW_IMPORT