From 167217bec15c9c7aa70ba2a3dc9c689b3cd91872 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Mon, 14 May 2001 14:19:32 +0000 Subject: import new version of dietlibc --- mdk-stage1/dietlibc/dietfeatures.h | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) (limited to 'mdk-stage1/dietlibc/dietfeatures.h') diff --git a/mdk-stage1/dietlibc/dietfeatures.h b/mdk-stage1/dietlibc/dietfeatures.h index 979b40d62..4552599ea 100644 --- a/mdk-stage1/dietlibc/dietfeatures.h +++ b/mdk-stage1/dietlibc/dietfeatures.h @@ -1,8 +1,11 @@ +#ifndef _DIETFEATURES_H +#define _DIETFEATURES_H /* feel free to comment some of these out to reduce code size */ //#define WANT_FLOATING_POINT_IN_PRINTF //#define WANT_FLOATING_POINT_IN_SCANF +#define WANT_CHARACTER_CLASSES_IN_SCANF #define WANT_NULL_PRINTF #define SLASH_PROC_OK @@ -10,7 +13,30 @@ // #define WANT_BUFFERED_STDIO /* use errno_location instead of errno */ -// #define WANT_THREAD_SAVE +// #define WANT_THREAD_SAFE + +/* make the startcode, etc. dynamic aware */ +/* #undef WANT_DYNAMIC */ /* do you want smaller or faster string routines? */ +/* #define WANT_FASTER_STRING_ROUTINES */ + +/* do you want ungetc? makes fgetc more complex */ +// #define WANT_UNGETC + +// #define WANT_LINKER_WARNINGS + +/* you need to define this if you want to run your programs with large + * file support on kernel 2.2 or 2.4 */ +// #define WANT_LARGEFILE_BACKCOMPAT + +/* do you want localtime(3) to read /etc/localtime? + * Needed for daylight saving time etc. */ +// #define WANT_TZFILE_PARSER + +/* stop uncommenting here ;-) */ +#ifndef WANT_FASTER_STRING_ROUTINES #define WANT_SMALL_STRING_ROUTINES +#endif + +#endif -- cgit v1.2.1