Issue #6183: Disables wcsftime on VC6.

This commit is contained in:
Hirokazu Yamamoto 2009-06-03 05:19:18 +00:00
parent 3db5e7be1c
commit 6b0e51a08c
2 changed files with 3 additions and 1 deletions

View file

@ -540,7 +540,7 @@ time_strftime(PyObject *self, PyObject *args)
fmt = PyBytes_AS_STRING(format);
#endif
#ifdef MS_WINDOWS
#if defined(MS_WINDOWS) && defined(HAVE_WCSFTIME)
/* check that the format string contains only valid directives */
for(outbuf = wcschr(fmt, L'%');
outbuf != NULL;