Windows patch by Cyril Pertsev

git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1397 59561ff5-6e30-0410-9f3c-9617f08c8826
This commit is contained in:
vlm 2007-11-13 22:29:18 +00:00
parent bbccfff63a
commit 4bd42eb585
1 changed files with 8 additions and 0 deletions

View File

@ -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.