* userinfo.h (struct fetch_full_grp_t): Define only when building

Cygwin itself.
	(struct fetch_user_arg_t): Ditto.
This commit is contained in:
Corinna Vinschen 2015-02-23 21:01:55 +00:00
parent c9baa8a65b
commit d9792ab0bf
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2015-02-23 Corinna Vinschen <corinna@vinschen.de>
* userinfo.h (struct fetch_full_grp_t): Define only when building
Cygwin itself.
(struct fetch_user_arg_t): Ditto.
2015-02-23 Corinna Vinschen <corinna@vinschen.de> 2015-02-23 Corinna Vinschen <corinna@vinschen.de>
* autoload.cc (LsaLookupSids): Import. * autoload.cc (LsaLookupSids): Import.

View File

@ -17,6 +17,8 @@ enum fetch_user_arg_type_t {
FULL_grp_arg, FULL_grp_arg,
}; };
#ifdef __INSIDE_CYGWIN__
struct fetch_full_grp_t { struct fetch_full_grp_t {
cygpsid sid; cygpsid sid;
PUNICODE_STRING name; PUNICODE_STRING name;
@ -36,3 +38,5 @@ struct fetch_user_arg_t
/* Only used in fetch_account_from_file/line. */ /* Only used in fetch_account_from_file/line. */
size_t len; size_t len;
}; };
#endif