]> git.proxmox.com Git - wasi-libc.git/commitdiff
WASI libc's dirent does have t_type, so define _DIRENT_HAVE_D_TYPE.
authorDan Gohman <sunfish@mozilla.com>
Thu, 29 Aug 2019 16:40:40 +0000 (09:40 -0700)
committerDan Gohman <sunfish@mozilla.com>
Thu, 29 Aug 2019 17:22:03 +0000 (10:22 -0700)
Also update predefined-macros.txt.

expected/wasm32-wasi/predefined-macros.txt
libc-bottom-half/headers/public/__struct_dirent.h

index 1d6ea06f8fe10b58d15e465d64caf8d926e327bf..77b965a8473880f42beb34885a81726763b2d89c 100644 (file)
 #define _CTYPE_H 
 #define _Complex_I (0.0f+1.0fi)
 #define _DIRENT_H 
-#define _DIRENT_HAVE_D_OFF 
-#define _DIRENT_HAVE_D_RECLEN 
 #define _DIRENT_HAVE_D_TYPE 
 #define _ENDIAN_H 
 #define _ERRNO_H 
index 1b734e85e45442de92545445736e997bb3d5e89f..9d2ece81dd1e62c7cd0932a650c2fdf154925348 100644 (file)
@@ -3,6 +3,8 @@
 
 #include <__typedef_ino_t.h>
 
+#define _DIRENT_HAVE_D_TYPE
+
 struct dirent {
     ino_t d_ino;
     unsigned char d_type;