Line | |
---|
1 | #ifndef MAIN_H
|
---|
2 | #define MAIN_H
|
---|
3 |
|
---|
4 | #ifdef __MINGW32__
|
---|
5 | // Turns off globbing for MingW, this is the same as that
|
---|
6 | // CRT_noglob.o, but avoids having to locate CRT_nogob.o in the
|
---|
7 | // filesystem.
|
---|
8 | // http://mingw-users.1079350.n2.nabble.com/Problems-with-expanding-wildcards-to-a-program-td1358555.html
|
---|
9 | int _dowildcard = 0; // Magic variable to disable wildcards expansion in mingw
|
---|
10 | // in our case fixes param parser crashes on windows
|
---|
11 | #endif
|
---|
12 |
|
---|
13 | #endif
|
---|
14 |
|
---|
15 | #include "optionsparser.h"
|
---|
16 |
|
---|
17 | int main(int argc, char *argv[]);
|
---|
18 |
|
---|
19 | #endif // MAIN_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.