Commit 415 needs the other two files. (Oops.)
This commit is contained in:
parent
801c3d52ad
commit
f01503d18a
@ -19,6 +19,13 @@ config TOYBOX_SUID
|
|||||||
be installed suid root, and drops permissions before running commands
|
be installed suid root, and drops permissions before running commands
|
||||||
which do not require root access.
|
which do not require root access.
|
||||||
|
|
||||||
|
config TOYBOX_FLOAT
|
||||||
|
bool "Floating point support"
|
||||||
|
default y
|
||||||
|
help
|
||||||
|
Include floating point support infrastructure and commands that
|
||||||
|
require it.
|
||||||
|
|
||||||
config TOYBOX_FREE
|
config TOYBOX_FREE
|
||||||
bool "Free memory unnecessarily"
|
bool "Free memory unnecessarily"
|
||||||
default n
|
default n
|
||||||
|
@ -4,6 +4,14 @@
|
|||||||
* Copyright 2006 Rob Landley <rob@landley.net>
|
* Copyright 2006 Rob Landley <rob@landley.net>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// Unfortunately, sizeof() doesn't work in a preprocessor test. TODO.
|
||||||
|
|
||||||
|
//#if sizeof(double) <= sizeof(long)
|
||||||
|
//typedef double FLOAT;
|
||||||
|
//#else
|
||||||
|
typedef float FLOAT;
|
||||||
|
//#endif
|
||||||
|
|
||||||
// libc generally has this, but the headers are screwed up
|
// libc generally has this, but the headers are screwed up
|
||||||
ssize_t getline(char **lineptr, size_t *n, FILE *stream);
|
ssize_t getline(char **lineptr, size_t *n, FILE *stream);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user