www.delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-workers-bounces using -f |
X-Recipient: | djgpp-workers AT delorie DOT com |
Date: | Thu, 09 Apr 2009 19:55:34 +0300 |
From: | Eli Zaretskii <eliz AT gnu DOT org> |
Subject: | Re: [PATCH] dbgcom.c, attribute patch |
In-reply-to: | <647fe9b10904090249t43ddbc2at6bbe48cdaf129f0b@mail.gmail.com> |
X-012-Sender: | halo1 AT inter DOT net DOT il |
To: | Ozkan Sezer <sezeroz AT gmail DOT com> |
Cc: | djgpp-workers AT delorie DOT com |
Message-id: | <838wm94vi1.fsf@gnu.org> |
References: | <647fe9b10904082358r38772fcco8708468aa931f5a2 AT mail DOT gmail DOT com> <83ljqa410g DOT fsf AT gnu DOT org> <647fe9b10904090249t43ddbc2at6bbe48cdaf129f0b AT mail DOT gmail DOT com> |
Reply-To: | djgpp-workers AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp-workers AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> Date: Thu, 9 Apr 2009 12:49:56 +0300 > From: Ozkan Sezer <sezeroz AT gmail DOT com> > Cc: djgpp-workers AT delorie DOT com > > > --- dbgcom.c.orig 2009-04-09 12:38:53.687500000 +0300 > > +++ dbgcom.c 2009-04-09 12:38:22.312500000 +0300 > > @@ -35,8 +35,10 @@ > > #include <sys/fsext.h> > > #include <io.h> > > > > -#if (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 4)) > > +#if (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) > > # define __attribute_used __attribute__ ((__used__)) > > +#elif __GNUC__ >= 2 > > +# define __attribute_used __attribute__((__unused__)) > > #else > > # define __attribute_used > > #endif > > > > Does this work for you? > > > > Surely. Change is fine by me. Thanks, applied.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |