From a772248e1a2f0886d8479b2f14392f020ea8c6e0 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 2 Apr 2020 01:07:35 +0200 Subject: Import the remaining utility files into VisualStudio project - The libcommon print verion function requires the PACKAGE_NAME and PACKAGE_VERSION defines. Those are added manually to the msvc stub of config.h. - Also, libcommon cannot directly include getopt.h - libfstree needs to change the return type for getline Signed-off-by: David Oberhollenzer --- include/win32/config.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/win32/config.h b/include/win32/config.h index 86ed62f..1da31e0 100644 --- a/include/win32/config.h +++ b/include/win32/config.h @@ -12,4 +12,7 @@ #define WITH_GZIP 1 #define WITH_LZ4 1 +#define PACKAGE_NAME "squashfs-tools-ng" +#define PACKAGE_VERSION "0.9" + #endif /* CONFIG_H */ -- cgit v1.2.3