Change whence_t constant values to match pre-existing agreed-upon values. (#307)

This commit is contained in:
Jämes Ménétrey 2020-07-10 10:41:08 +02:00 committed by GitHub
parent 1a85051415
commit 0472ddc0d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -275,9 +275,9 @@ typedef uint64_t __wasi_timestamp_t;
typedef uint64_t __wasi_userdata_t; typedef uint64_t __wasi_userdata_t;
typedef uint8_t __wasi_whence_t; typedef uint8_t __wasi_whence_t;
#define __WASI_WHENCE_CUR (0) #define __WASI_WHENCE_SET (0)
#define __WASI_WHENCE_END (1) #define __WASI_WHENCE_CUR (1)
#define __WASI_WHENCE_SET (2) #define __WASI_WHENCE_END (2)
typedef uint8_t __wasi_preopentype_t; typedef uint8_t __wasi_preopentype_t;
#define __WASI_PREOPENTYPE_DIR (0) #define __WASI_PREOPENTYPE_DIR (0)