makefsdata: fix compiling for win32

This commit is contained in:
Simon Goldschmidt 2018-11-23 12:59:07 +01:00
parent d116d235a5
commit 7859c6832b

View File

@ -63,6 +63,7 @@ int deflate_level = 10; /* default compression level, can be changed via command
#ifdef WIN32
#define GETCWD(path, len) GetCurrentDirectoryA(len, path)
#define GETCWD_SUCCEEDED(ret) (ret != 0)
#define CHDIR(path) SetCurrentDirectoryA(path)
#define CHDIR_SUCCEEDED(ret) (ret == TRUE)