mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 19:25:11 -07:00
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:
parent
a7e0b0edbc
commit
423f3bc3e2
@ -217,6 +217,7 @@ endfunc
|
||||
|
||||
func Test_strptime()
|
||||
CheckFunction strptime
|
||||
CheckNotMSWindows
|
||||
|
||||
if exists('$TZ')
|
||||
let tz = $TZ
|
||||
|
Loading…
Reference in New Issue
Block a user