test/old: skip Test_strptime() on Windows

POSIX strptime does not exist in Windows.
There is a C++ workaround but I don't know how to use it.
Julia ported BSD's "strptime()" but I can't compile the file
or embed the relevant code into src/nvim/os/time.c

I cannot use "#ifdef" in eval.lua because of function hashing.
"#ifdef" is required to point "strptime()" to NULL
such that "CheckFunction strptime" fails.
This commit is contained in:
Jan Edmund Lazo 2021-03-27 10:55:11 -04:00
parent a7e0b0edbc
commit 423f3bc3e2
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15

View File

@ -217,6 +217,7 @@ endfunc
func Test_strptime()
CheckFunction strptime
CheckNotMSWindows
if exists('$TZ')
let tz = $TZ