mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
uid-wrapper: handle uwrap_enabled() as a macro
some s3 code defines uwrap_enabled() as a macro. Detect this, and don't redeclare the functions Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
066a93d41c
commit
d5d26e3269
@ -17,6 +17,7 @@
|
||||
|
||||
#ifndef __UID_WRAPPER_H__
|
||||
#define __UID_WRAPPER_H__
|
||||
#ifndef uwrap_enabled
|
||||
|
||||
int uwrap_enabled(void);
|
||||
int uwrap_seteuid(uid_t euid);
|
||||
@ -68,4 +69,5 @@ gid_t uwrap_getgid(void);
|
||||
#endif
|
||||
#define getgid uwrap_getgid
|
||||
|
||||
#endif
|
||||
#endif /* __UID_WRAPPER_H__ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user