aboutsummaryrefslogtreecommitdiffstats
path: root/assuan/assuan-connect.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2007-07-04 20:03:39 +0000
committerMarcus Brinkmann <[email protected]>2007-07-04 20:03:39 +0000
commita63c5c013771799432dadec5e2f0aabd48db6af4 (patch)
treefad748a885a93d27c78fa043a87a4ad3753baee3 /assuan/assuan-connect.c
parent2007-07-04 Marcus Brinkmann <[email protected]> (diff)
downloadgpgme-a63c5c013771799432dadec5e2f0aabd48db6af4.tar.gz
gpgme-a63c5c013771799432dadec5e2f0aabd48db6af4.zip
2007-07-04 Marcus Brinkmann <[email protected]>
* assuan/: Update files to 2007-07-04 version of assuan.
Diffstat (limited to 'assuan/assuan-connect.c')
-rw-r--r--assuan/assuan-connect.c2
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 */