mirror of https://gerrit.osmocom.org/asn1c
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:
parent
bbccfff63a
commit
4bd42eb585
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue