ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/XmlTools2/trunk/main.h
Revision: 906
Committed: Sat Feb 1 14:27:58 2014 UTC (11 years, 8 months ago) by s10k
Content type: text/x-chdr
File size: 604 byte(s)
Log Message:

File Contents

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