protect some limit constants with feature test macros on x86_64
[musl] / arch / i386 / bits / stdio.h
1 #define BUFSIZ 1024
2
3 #define FILENAME_MAX 4095
4 #define FOPEN_MAX 1000
5 #define TMP_MAX 10000
6
7 #define L_cuserid 20
8 #define L_tmpnam 20
9
10 #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
11  || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE)
12 #define L_ctermid 20
13 #endif
14
15 #if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE)
16 #define P_tmpdir "/tmp"
17 #endif