Annotation of dietlibc/dietfeatures.h, revision 1.24

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
1.24    ! fefe       10: #define WANT_LONGLONG_PRINTF
1.1       cvs        11: 
1.20      fefe       12: /* 128 or 2048 bytes buffer size? */
                     13: /* #define WANT_SMALL_STDIO_BUFS */
                     14: 
1.1       cvs        15: /* #define SLASH_PROC_OK */
                     16: 
1.11      fefe       17: #define WANT_BUFFERED_STDIO
1.1       cvs        18: 
                     19: /* use errno_location instead of errno */
1.20      fefe       20: #define WANT_THREAD_SAFE
1.1       cvs        21: 
                     22: /* make the startcode, etc. dynamic aware */
1.2       fefe       23: /* #undef WANT_DYNAMIC */
1.1       cvs        24: 
                     25: /* do you want smaller or faster string routines? */
1.2       fefe       26: /* #define WANT_FASTER_STRING_ROUTINES */
1.1       cvs        27: 
1.16      fefe       28: /* read the comment in lib/strncat.c for an explanation */
1.17      fefe       29: /* #define WANT_NON_COMPLIANT_STRNCAT */
1.16      fefe       30: 
1.18      fefe       31: /* strsep, according to the Linux man page, when called on "foo,bar"
                     32:  * with separator ",", should return "foo" and then NULL.  glibc,
                     33:  * however, returns "foo", then "bar", and then NULL.  The man page
                     34:  * behaviour breaks openssh, so you might want to have glibc behaviour. */
                     35: #define WANT_BUGGY_GLIBC_STRSEP
                     36: 
1.5       fefe       37: /* do you want ungetc?  makes fgetc more complex */
                     38: #define WANT_UNGETC
                     39: 
1.4       fefe       40: #define WANT_LINKER_WARNINGS
                     41: 
1.7       fefe       42: /* you need to define this if you want to run your programs with large
                     43:  * file support on kernel 2.2 or 2.4 */
                     44: #define WANT_LARGEFILE_BACKCOMPAT
                     45: 
1.8       fefe       46: /* do you want localtime(3) to read /etc/localtime?
                     47:  * Needed for daylight saving time etc. */
                     48: #define WANT_TZFILE_PARSER
1.1       cvs        49: 
1.21      fefe       50: /* do you want the DNS routines to parse and use "domain" and "search"
                     51:  * lines from /etc/resolv.conf?  Normally not used on boot floppies and
                     52:  * embedded environments. */
                     53: #define WANT_FULL_RESOLV_CONF
                     54: 
1.1       cvs        55: /* stop uncommenting here ;-) */
                     56: #ifndef WANT_FASTER_STRING_ROUTINES
                     57: #define WANT_SMALL_STRING_ROUTINES
1.4       fefe       58: #endif
                     59: 
1.22      fefe       60: #ifdef WANT_THREAD_SAFE
                     61: #define errno (*__errno_location())
1.23      fefe       62: #define _REENTRANT
1.22      fefe       63: #endif
                     64: 
1.1       cvs        65: #endif

LinuxTV legacy CVS <linuxtv.org/cvs>