Skip to content
Snippets Groups Projects
Commit a9e8026e authored by Lev Walkin's avatar Lev Walkin
Browse files

Windows patch by Cyril Pertsev

parent 7943c301
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment