cvs commit: src/lib/libc/stdio vfprintf.c vfscanf.c

John-Mark Gurney gurney_j at efn.org
Mon May 3 09:50:54 PDT 2004


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."


More information about the cvs-src mailing list