Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 May 2004 09:50:52 -0700
From:      John-Mark Gurney <gurney_j@efn.org>
To:        David Schultz <das@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libc/stdio vfprintf.c vfscanf.c
Message-ID:  <20040503165052.GA601@funkthat.com>
In-Reply-To: <200405021055.i42At5Qv019900@repoman.freebsd.org>
References:  <200405021055.i42At5Qv019900@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
David Schultz wrote this message on Sun, May 02, 2004 at 03:55 -0700:
>   - To make it easier to compile *printf() and *scanf() without
>     floating-point support, remove default definition of FLOATING_POINT
>     from the source, and change the compile-time option to
>     NO_FLOATING_POINT.

You should of just changed the top of the file to read:
#ifndef NO_FLOATING_POINT
#define FLOATING_POINT
#endif

This would of given you your change, with almost zero source change,and
made source easier to read, due to not having double negatives....

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040503165052.GA601>