source: XmlTools2/trunk/main.h@ 928

Last change on this file since 928 was 928, checked in by s10k, 11 years ago

XmlTools2
One fix for Mac OS X, and upload Mac OS binary

File size: 538 bytes
RevLine 
[906]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
9unsigned long _CRT_glob = 0; // Magic variable to disable wildcards expansion in mingw
10// in our case fixes param parser crashes on windows
[928]11#endif
[926]12
13#include "optionsparser.h"
14
[906]15int main(int argc, char *argv[]);
16
17#endif // MAIN_H
Note: See TracBrowser for help on using the repository browser.