Re: [PATCH 09/11] Add MSVC porting header files.
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Aug 18, 2009, 13:01 UTC
- Message-ID
- <alpine.DEB.1.00.0908181500450.4680@intel-tinevez-2-302>
- In-Reply-To
- <7v4os5jtd9.fsf@alter.siamese.dyndns.org>
Hi,
On Tue, 18 Aug 2009, Junio C Hamano wrote:
Show 12 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes: > > > As I said earlier, there are common flags, but as I also said, it is > > probably better to keep the #define's in a header file for better > > visibility and editability, albeit in logically clustered blocks (i.e. > > all the NO_* and other #define's that affect what source code is > > compiled, all default paths in another cluster, #define's to bow > > before Microsoft's C runtime's decision to deprecate the C99 standard > > function names, etc) > > ... and that can live in a separate header file to reduce clutter and > shield people who do not need to look at MSC related code, no?
Maybe we could call it compat/msvc.h? ;-)
Ciao, Dscho