projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add missing CreateReader method
[mono.git]
/
support
/
macros.c
diff --git
a/support/macros.c
b/support/macros.c
index 03f60745c5de388fbba0e6d6dbc8a6f352b07f01..d2cf5e7bcdbb95922b01c51f2200283350af380d 100644
(file)
--- a/
support/macros.c
+++ b/
support/macros.c
@@
-99,6
+99,7
@@
char *helper_Mono_Posix_readdir(void *dir) {
return strdup (e->d_name);
}
+#if HAVE_GETPWNAM_R
int helper_Mono_Posix_getpwnamuid (int mode, char *in_name, int in_uid,
char **account,
char **password,
@@
-145,3
+146,5
@@
int helper_Mono_Posix_getpwnamuid (int mode, char *in_name, int in_uid,
return 0;
}
+#endif /* def HAVE_GETPWNAM_R */
+