|
From: Jacob H. <sho...@gm...> - 2015-03-16 18:09:35
|
On Sun, Mar 15, 2015 at 11:34 PM, Eli Zaretskii <el...@gn...> wrote: > > Date: Sun, 15 Mar 2015 15:10:06 -0700 > > From: Greg Jung <gv...@gm...> > > > > #ifdef _WIN32 > > MultiByteToWideChar(CP_UTF8, 0, > > (LPCSTR)entryStr.c_str(), -1, > > tchrentry, MAX_PATH+1); > > int match = 1 - PathMatchSpecW(tchrentry, tchrpat); > > #else > > int match = fnmatch( pat.c_str(), entryStr.c_str(), 0); > > #endif > > This only supports Windows-style wildcards, Unix-style wildcards like > "*.[ch]" won't be supported. Not sure if that matters for the > application in question. > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > MinGW-users mailing list > Min...@li... > > This list observes the Etiquette found at > http://www.mingw.org/Mailing_Lists. > We ask that you be polite and do the same. Disregard for the list > etiquette may cause your account to be moderated. > > _______________________________________________ > You may change your MinGW Account Options or unsubscribe at: > https://lists.sourceforge.net/lists/listinfo/mingw-users > Also: mailto:min...@li...?subject=unsubscribe > Right, so I added the bit about MultiByteToWideChar, and added some of the includes that Greg had. Additionally, I reverted back to having it deal with the Windows bit, and ignoring what would compile on Linux. As a result, I am back to my original problem, which is this pesky error: DefaultResourceProvider.cpp:216:33: error: '_wfindnext64i32' was not declared in this scope |