ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/XmlTools2/trunk/main.h
Revision: 928
Committed: Wed Feb 5 18:41:59 2014 UTC (11 years, 8 months ago) by s10k
Content type: text/x-chdr
File size: 538 byte(s)
Log Message:
XmlTools2
One fix for Mac OS X, and upload Mac OS binary

File Contents

# Content
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 unsigned long _CRT_glob = 0; // Magic variable to disable wildcards expansion in mingw
10 // in our case fixes param parser crashes on windows
11 #endif
12
13 #include "optionsparser.h"
14
15 int main(int argc, char *argv[]);
16
17 #endif // MAIN_H