DragonFly BSD
DragonFly submit List (threaded) for 2006-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Patch line limit removal

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 14 Jul 2006 10:40:01 -0700 (PDT)

:On Fri, Jul 14, 2006 at 10:29:06AM -0700, Matthew Dillon wrote:
:> :Hi all,
:> :http://leaf.dragonflybsd.org/~joerg/patch.diff
:> :contains the last missing piece to remove unnecessary line limits in
:> :patch(1). Please test or review, I'd like to have this in the tree soon
:> ::-)
:> :
:> :Joerg
:>     This is kinda messy:
:> 	#define __STDC_LIMIT_MACROS
:>     Is there any way to not use those extensions ?
:This is a standard macro and part of C99.

   I really dislike having to pre-define anything prior to doing
   an #include.  There are a few places where we have no choice,
   but if something is going to be 'standard C' then I just do not
   accept that it must require a pre-defined macro to operate properly.

   I suppose if you really, really want to use the macro you can make
   it a -D option in the compile line.  That is, fix the Makefile rather
   then put the #define in the source code.

					Matthew Dillon 

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]