[PATCH 04/22] dosfs: Avoid MIN() re-definition

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Nov 21 11:11:00 UTC 2014


On 21/11/14 11:26, Peter Dufault wrote:
> I don't like these kind of "ifndef" tests before defining something because how do you know it was defined compatibly?  Granted MIN is well-known so that's less likely than other uses of this pattern.
>
> Can the definition be made identical to the other definition to eliminate a warning or does GCC still warn about a redefinition?

I fixed it this way:

http://git.rtems.org/rtems/commit/?id=11925eef789566a226d8eaacbceb4d89df787ebc

-- 
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 at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list