summaryrefslogtreecommitdiff
path: root/compat.h
blob: 02ad8318582f2d54bfe9ee9246e68cc65a4de2b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

#ifndef _COMPAT_H_
#define _COMPAT_H_

#ifdef _WIN32

int getopt(int argc, char* const *argv, const char *optstr);
extern char *optarg;
extern int optreset;
extern int optind;
extern int opterr;

#else

#include <unistd.h>

#endif

#endif /* _COMPAT_H_ */