diff options
author | Lev Walkin <vlm@lionet.info> | 2007-11-13 22:29:18 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2007-11-13 22:29:18 +0000 |
commit | a9e8026e6ffb2c387dd196d919c4205927e2cacd (patch) | |
tree | 9439c47d4a55f391b7ac7fff50c1b4d54acd9dad /asn1c | |
parent | 7943c301b6d19356e3a74e8379a3fe726f3e8980 (diff) |
Windows patch by Cyril Pertsev
Diffstat (limited to 'asn1c')
-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. |