Add a check for pthread_setname_np with three parameters
[openal-soft.git] / utils / getopt.h
blobf894d9d9e8f35437e669f7ed9d70f8ba65ce36e8
1 #ifndef GETOPT_H
2 #define GETOPT_H
4 #ifndef _WIN32
6 #include <unistd.h>
8 #else /* _WIN32 */
10 #ifdef __cplusplus
11 extern "C" {
12 #endif /* __cplusplus */
14 extern char *optarg;
15 extern int optind, opterr, optopt, optreset;
17 int getopt(int nargc, char * const nargv[], const char *ostr);
19 #ifdef __cplusplus
21 #endif /* __cplusplus */
23 #endif /* !_WIN32 */
25 #endif /* !GETOPT_H */