a/src/windows/strptime.cpp b/src/windows/strptime.cpp
...
...
2
#include <stdlib.h>
2
#include <stdlib.h>
3
#include <string.h>
3
#include <string.h>
4
#include <time.h>
4
#include <time.h>
5
#include <ctype.h>
5
#include <ctype.h>
6
6
7
#ifdef _MSC_VER
8
const char * strp_weekdays[] =
7
const char * strp_weekdays[] =
9
{ "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday" };
8
{ "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday" };
10
const char * strp_monthnames[] =
9
const char * strp_monthnames[] =
11
{ "january", "february", "march", "april", "may", "june", "july", "august", "september", "october", "november", "december" };
10
{ "january", "february", "march", "april", "may", "june", "july", "august", "september", "october", "november", "december" };
12
bool strp_atoi(const char * & s, int & result, int low, int high, int offset)
11
bool strp_atoi(const char * & s, int & result, int low, int high, int offset)
...
...
250
        }
249
        }
251
        ++format;
250
        ++format;
252
    }
251
    }
253
    return (working ? (char *)s : 0);
252
    return (working ? (char *)s : 0);
254
}
253
}
255
#endif // _MSC_VER