Annotation of dietlibc/dietfeatures.h, revision 1.20
1.4 fefe 1: #ifndef _DIETFEATURES_H
2: #define _DIETFEATURES_H
1.1 cvs 3:
4: /* feel free to comment some of these out to reduce code size */
5:
1.13 fefe 6: #define WANT_FLOATING_POINT_IN_PRINTF
7: #define WANT_FLOATING_POINT_IN_SCANF
1.12 fefe 8: #define WANT_CHARACTER_CLASSES_IN_SCANF
1.1 cvs 9: #define WANT_NULL_PRINTF
10:
1.20 ! fefe 11: /* 128 or 2048 bytes buffer size? */
! 12: /* #define WANT_SMALL_STDIO_BUFS */
! 13:
1.1 cvs 14: /* #define SLASH_PROC_OK */
15:
1.11 fefe 16: #define WANT_BUFFERED_STDIO
1.1 cvs 17:
18: /* use errno_location instead of errno */
1.20 ! fefe 19: #define WANT_THREAD_SAFE
1.1 cvs 20:
21: /* make the startcode, etc. dynamic aware */
1.2 fefe 22: /* #undef WANT_DYNAMIC */
1.1 cvs 23:
24: /* do you want smaller or faster string routines? */
1.2 fefe 25: /* #define WANT_FASTER_STRING_ROUTINES */
1.1 cvs 26:
1.16 fefe 27: /* read the comment in lib/strncat.c for an explanation */
1.17 fefe 28: /* #define WANT_NON_COMPLIANT_STRNCAT */
1.16 fefe 29:
1.18 fefe 30: /* strsep, according to the Linux man page, when called on "foo,bar"
31: * with separator ",", should return "foo" and then NULL. glibc,
32: * however, returns "foo", then "bar", and then NULL. The man page
33: * behaviour breaks openssh, so you might want to have glibc behaviour. */
34: #define WANT_BUGGY_GLIBC_STRSEP
35:
1.5 fefe 36: /* do you want ungetc? makes fgetc more complex */
37: #define WANT_UNGETC
38:
1.4 fefe 39: #define WANT_LINKER_WARNINGS
40:
1.7 fefe 41: /* you need to define this if you want to run your programs with large
42: * file support on kernel 2.2 or 2.4 */
43: #define WANT_LARGEFILE_BACKCOMPAT
44:
1.8 fefe 45: /* do you want localtime(3) to read /etc/localtime?
46: * Needed for daylight saving time etc. */
47: #define WANT_TZFILE_PARSER
1.1 cvs 48:
49: /* stop uncommenting here ;-) */
50: #ifndef WANT_FASTER_STRING_ROUTINES
51: #define WANT_SMALL_STRING_ROUTINES
1.4 fefe 52: #endif
53:
1.1 cvs 54: #endif
LinuxTV legacy CVS <linuxtv.org/cvs>