projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #82 from Unity-Technologies/master-gc-race
[mono.git]
/
support
/
dirent.c
diff --git
a/support/dirent.c
b/support/dirent.c
index 4673ac51439cfeab01f3553fc5ebdc4691990d9d..939d915d949553729d64b6e89577b9152cc3aa54 100644
(file)
--- a/
support/dirent.c
+++ b/
support/dirent.c
@@
-29,6
+29,7
@@
G_BEGIN_DECLS
G_BEGIN_DECLS
+#if HAVE_SEEKDIR
gint32
Mono_Posix_Syscall_seekdir (void *dir, mph_off_t offset)
{
gint32
Mono_Posix_Syscall_seekdir (void *dir, mph_off_t offset)
{
@@
-38,12
+39,15
@@
Mono_Posix_Syscall_seekdir (void *dir, mph_off_t offset)
return 0;
}
return 0;
}
+#endif /* def HAVE_SEEKDIR */
+#if HAVE_TELLDIR
mph_off_t
Mono_Posix_Syscall_telldir (void *dir)
{
return telldir ((DIR*) dir);
}
mph_off_t
Mono_Posix_Syscall_telldir (void *dir)
{
return telldir ((DIR*) dir);
}
+#endif /* def HAVE_TELLDIR */
static void
copy_dirent (struct Mono_Posix_Syscall__Dirent *to, struct dirent *from)
static void
copy_dirent (struct Mono_Posix_Syscall__Dirent *to, struct dirent *from)