mirror of
https://git.proxmox.com/git/wasi-libc
synced 2025-07-15 17:24:03 +00:00
WASI libc's dirent does have t_type, so define _DIRENT_HAVE_D_TYPE.
Also update predefined-macros.txt.
This commit is contained in:
parent
bed0cb5d3a
commit
b7ae2fe33b
@ -2079,8 +2079,6 @@
|
|||||||
#define _CTYPE_H
|
#define _CTYPE_H
|
||||||
#define _Complex_I (0.0f+1.0fi)
|
#define _Complex_I (0.0f+1.0fi)
|
||||||
#define _DIRENT_H
|
#define _DIRENT_H
|
||||||
#define _DIRENT_HAVE_D_OFF
|
|
||||||
#define _DIRENT_HAVE_D_RECLEN
|
|
||||||
#define _DIRENT_HAVE_D_TYPE
|
#define _DIRENT_HAVE_D_TYPE
|
||||||
#define _ENDIAN_H
|
#define _ENDIAN_H
|
||||||
#define _ERRNO_H
|
#define _ERRNO_H
|
||||||
|
@ -3,6 +3,8 @@
|
|||||||
|
|
||||||
#include <__typedef_ino_t.h>
|
#include <__typedef_ino_t.h>
|
||||||
|
|
||||||
|
#define _DIRENT_HAVE_D_TYPE
|
||||||
|
|
||||||
struct dirent {
|
struct dirent {
|
||||||
ino_t d_ino;
|
ino_t d_ino;
|
||||||
unsigned char d_type;
|
unsigned char d_type;
|
||||||
|
Loading…
Reference in New Issue
Block a user