Re: [PATCH 2/2] Improve portability: Avoid SS constant as it is already defined

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: David Soria Parra <sn_@...>
Cc: <git@...>, David Soria Parra <dsp@...>
Date: Wednesday, August 27, 2008 - 2:56 pm

David Soria Parra <sn_@gmx.net> writes:


I do not mind this _particular_ workaround per-se, but I have to wonder
what happens the next time some random other platform has "SP" defined in
a random header file.

First of all, why are you including <sys/regset.h>?  We certainly don't
include from any of our header or source files.  And second of all, why is
the indirect inclusion of that header file by some standard header file we
do include cause the namespace to get poluted with "SS" symbol?

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/2] Improve portability for OpenSolaris, David Soria Parra, (Wed Aug 27, 1:39 pm)
[PATCH 1/2] Improvate portability: Display pid_t's always as..., David Soria Parra, (Wed Aug 27, 1:39 pm)
Re: [PATCH 1/2] Improvate portability: Display pid_t's alway..., David Soria Parra, (Sat Aug 30, 4:40 pm)
[PATCH 2/2] Improve portability: Avoid SS constant as it is ..., David Soria Parra, (Wed Aug 27, 1:39 pm)
Re: [PATCH 2/2] Improve portability: Avoid SS constant as it..., Junio C Hamano, (Wed Aug 27, 2:56 pm)
Re: [PATCH 2/2] Improve portability: Avoid SS constant as it..., David Soria Parra, (Wed Aug 27, 8:34 pm)