This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH] Add typedef of stack_t for Cygwin
- From: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- To: Jon TURNEY <jon dot turney at dronecode dot org dot uk>, Joel Sherrill <joel dot sherrill at oarcorp dot com>, newlib at sourceware dot org
- Date: Wed, 01 Apr 2015 08:17:50 +0200
- Subject: Re: [PATCH] Add typedef of stack_t for Cygwin
- Authentication-results: sourceware.org; auth=none
- References: <1427816591-10760-1-git-send-email-jon dot turney at dronecode dot org dot uk> <551AC1A5 dot 9090407 at oarcorp dot com> <551B2BBF dot 8060905 at dronecode dot org dot uk>
Why is this Cygwin and RTEMS specific? This typedef and the three
members are defined by POSIX:
http://pubs.opengroup.org/onlinepubs/9699919799/
On 01/04/15 01:20, Jon TURNEY wrote:
On 31/03/2015 16:47, Joel Sherrill wrote:
Why can't you move the definition that is there for RTEMS and use
it for both Cygwin and RTEMS? We have exactly the same definition
only a few lines above.
There is no point in duplicating this and when Cygwin and RTEMS
can use exactly the same code, I am personally much happier.
Ok. Attached patch is revised as you suggest.
I'm sorry I have no way to test this with RTEMS.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.