aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-04-02 01:07:35 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-04-02 01:07:57 +0200
commita772248e1a2f0886d8479b2f14392f020ea8c6e0 (patch)
tree2890d5a6ae9c5ff120ae6c42bb044baf9e8f226c /include
parent5de40ee8216c7a3ddb2bf88570f798c8ac4f40f8 (diff)
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 <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include')
-rw-r--r--include/win32/config.h3
1 files changed, 3 insertions, 0 deletions
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 */