OSDN Git Service

* include/_mingw.h: Define __attribute__((x)) to nothing
authordannysmith <dannysmith>
Tue, 21 Oct 2003 09:50:47 +0000 (09:50 +0000)
committerdannysmith <dannysmith>
Tue, 21 Oct 2003 09:50:47 +0000 (09:50 +0000)
if not __GNUC__.

winsup/mingw/ChangeLog
winsup/mingw/include/_mingw.h

index 00f4615..4268822 100644 (file)
@@ -1,5 +1,10 @@
 2003-10-21  Danny Smith  <dannysmith@users.sourceforge.net>
 
+       * include/_mingw.h: Define __attribute__((x)) to nothing
+       if not __GNUC__.
+
+2003-10-21  Danny Smith  <dannysmith@users.sourceforge.net>
+
        * include/complex.h: New file.
        * mingwex/complex: New directory.
        * mingwex/complex/cabs.c: New file.
index 3aa4453..c5cbb4c 100644 (file)
@@ -52,6 +52,7 @@
 #  define _CRTIMP  __declspec(dllimport)
 # endif
 # define __DECLSPEC_SUPPORTED
+# define __attribute__(x) /* nothing */
 #else /* __GNUC__ */
 # ifdef __declspec
 #  ifndef __MINGW_IMPORT