Incorporate Siteshwar's patch for building on Linux

This commit is contained in:
ridiculousfish
2012-01-05 13:58:48 -08:00
parent 6f45832aed
commit 4df57fda09
16 changed files with 55 additions and 153 deletions

View File

@@ -617,7 +617,7 @@ _wgetopt_internal (int argc, wchar_t *const *argv, const wchar_t *optstring, con
{
wchar_t c = *nextchar++;
wchar_t *temp = my_index (optstring, c);
wchar_t *temp = const_cast<wchar_t*>(my_index (optstring, c));
/* Increment `woptind' when we start to process its last character. */
if (*nextchar == '\0')