diff options
author | vlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826> | 2007-11-13 22:29:18 +0000 |
---|---|---|
committer | vlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826> | 2007-11-13 22:29:18 +0000 |
commit | 4bd42eb585375ba1fbb4476545e66f5c320aa8a1 (patch) | |
tree | 9439c47d4a55f391b7ac7fff50c1b4d54acd9dad | |
parent | bbccfff63a93cc3bb6194077c418181e619a4663 (diff) |
Windows patch by Cyril Pertsev
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1397 59561ff5-6e30-0410-9f3c-9617f08c8826
-rw-r--r-- | asn1c/webcgi/asn1c-suid-helper.c | 8 |
1 files changed, 8 insertions, 0 deletions
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 <errno.h> #include <sysexits.h> +#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. |