From 4bd42eb585375ba1fbb4476545e66f5c320aa8a1 Mon Sep 17 00:00:00 2001 From: vlm Date: Tue, 13 Nov 2007 22:29:18 +0000 Subject: Windows patch by Cyril Pertsev git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1397 59561ff5-6e30-0410-9f3c-9617f08c8826 --- asn1c/webcgi/asn1c-suid-helper.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/asn1c/webcgi/asn1c-suid-helper.c b/asn1c/webcgi/asn1c-suid-helper.c index 9a878fe8..a334f1f2 100644 --- a/asn1c/webcgi/asn1c-suid-helper.c +++ b/asn1c/webcgi/asn1c-suid-helper.c @@ -6,6 +6,14 @@ #include #include +#ifdef WIN32 +#define setuid(s) +#define getuid() +#define setgid(s) +#define getgid() +#define chroot(p) (-1) +#endif + /* * This program chroots into a given directory, * then executes the asn1c command with strict arguments checking. -- cgit v1.2.3