mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 19:36:40 +00: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:
@@ -217,6 +217,7 @@ endfunc
|
||||
|
||||
func Test_strptime()
|
||||
CheckFunction strptime
|
||||
CheckNotMSWindows
|
||||
|
||||
if exists('$TZ')
|
||||
let tz = $TZ
|
||||
|
Reference in New Issue
Block a user