diff options
author | Roland McGrath <roland@hack.frob.com> | 2015-04-17 09:02:19 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2015-04-17 09:02:19 -0700 |
commit | d1e44df1fa5fefd8a083f6c1e909bbcdc97c6438 (patch) | |
tree | a76176eca62c0907dd7f135979312c8e55ad06a5 /sysdeps/nacl/readdir_r.c | |
parent | f70925993ada98039250d46c62fb89c168b8f9d6 (diff) | |
download | glibc-d1e44df1fa5fefd8a083f6c1e909bbcdc97c6438.tar.gz glibc-d1e44df1fa5fefd8a083f6c1e909bbcdc97c6438.tar.xz glibc-d1e44df1fa5fefd8a083f6c1e909bbcdc97c6438.zip |
Add arm-nacl port.
Diffstat (limited to 'sysdeps/nacl/readdir_r.c')
-rw-r--r-- | sysdeps/nacl/readdir_r.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/nacl/readdir_r.c b/sysdeps/nacl/readdir_r.c new file mode 100644 index 0000000000..3a9a71703e --- /dev/null +++ b/sysdeps/nacl/readdir_r.c @@ -0,0 +1,8 @@ +/* The compiler complains about aliases with nonmatching type signatures. + The types 'struct dirent' and 'struct dirent64' are actually identical + even though the compiler doesn't consider them to be. So we hide the + declaration from the compiler. */ +#define readdir64_r __avoid_readdir64_r_declaration +#include <sysdeps/posix/readdir_r.c> +#undef readdir64_r +weak_alias (__readdir_r, readdir64_r) |