diff options
Diffstat (limited to 'assuan/assuan-connect.c')
| -rw-r--r-- | assuan/assuan-connect.c | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/assuan/assuan-connect.c b/assuan/assuan-connect.c index 92995d8c..15fc51b9 100644 --- a/assuan/assuan-connect.c +++ b/assuan/assuan-connect.c @@ -62,6 +62,7 @@ assuan_get_pid (assuan_context_t ctx)  /* Return user credentials. PID, UID and GID amy be gived as NULL if     you are not interested in this value.  For getting the pid of the     peer the assuan_get_pid is usually better suited. */ +#ifndef HAVE_W32_SYSTEM  assuan_error_t  assuan_get_peercred (assuan_context_t ctx, pid_t *pid, uid_t *uid, gid_t *gid)  { @@ -77,3 +78,4 @@ assuan_get_peercred (assuan_context_t ctx, pid_t *pid, uid_t *uid, gid_t *gid)      *gid = ctx->peercred.gid;    return 0;  } +#endif /* HAVE_W32_SYSTEM */ | 
