From 7859c6832bc344bdf208fa1e29884a999247ecc8 Mon Sep 17 00:00:00 2001 From: Simon Goldschmidt Date: Fri, 23 Nov 2018 12:59:07 +0100 Subject: [PATCH] makefsdata: fix compiling for win32 --- src/apps/http/makefsdata/makefsdata.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/apps/http/makefsdata/makefsdata.c b/src/apps/http/makefsdata/makefsdata.c index 9b6c650e..b9265704 100644 --- a/src/apps/http/makefsdata/makefsdata.c +++ b/src/apps/http/makefsdata/makefsdata.c @@ -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)