Fix small windows/mingw portability issues in code used by the GUI

This commit is contained in:
Jean-Francois Dockes
2015-10-07 09:25:28 +02:00
parent 3b18facc16
commit 2a96ee4a27
9 changed files with 191 additions and 33 deletions
-2
View File
@@ -4,7 +4,6 @@
#include <time.h>
#include <ctype.h>
#ifdef _MSC_VER
const char * strp_weekdays[] =
{ "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday" };
const char * strp_monthnames[] =
@@ -252,4 +251,3 @@ char * strptime(const char *s, const char *format, struct tm *tm)
}
return (working ? (char *)s : 0);
}
#endif // _MSC_VER