mirror of
https://git.planet-casio.com/Vhex-Kernel-Core/fxlibc.git
synced 2024-12-28 04:23:38 +01:00
stdio: use non-zero values for SEEK_*
libstdc++ uses 0, SEEK_CUR, SEEK_END in an internal enumeration. By having SEEK_CUR=0 we would have a duplicate case.
This commit is contained in:
parent
8231557ff5
commit
4b61daa602
1 changed files with 3 additions and 3 deletions
|
@ -125,9 +125,9 @@ typedef size_t fpos_t;
|
||||||
#define L_tmpnam FILENAME_MAX
|
#define L_tmpnam FILENAME_MAX
|
||||||
|
|
||||||
/* Seeking positions. */
|
/* Seeking positions. */
|
||||||
#define SEEK_CUR 0
|
#define SEEK_CUR 1
|
||||||
#define SEEK_END 1
|
#define SEEK_END 2
|
||||||
#define SEEK_SET 2
|
#define SEEK_SET 3
|
||||||
|
|
||||||
/* Maximum number of unique filenames that tmpnam can generate. */
|
/* Maximum number of unique filenames that tmpnam can generate. */
|
||||||
/* TODO: Set a useful value in TMP_MAX other than 16*16*16 */
|
/* TODO: Set a useful value in TMP_MAX other than 16*16*16 */
|
||||||
|
|
Loading…
Reference in a new issue