From a2495bd1ac9e5e54074d65616de0efa822a6309e Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Wed, 1 Apr 2020 00:13:11 +0200 Subject: Add preliminary VisualStudio support - Mostly workarounds/clutches in compat.h - Change getline return type to int - Replace C99 style flexible array with alloca - Add all the MSVC solution/project crap Signed-off-by: David Oberhollenzer --- lib/sqfs/write_inode.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'lib/sqfs/write_inode.c') diff --git a/lib/sqfs/write_inode.c b/lib/sqfs/write_inode.c index 787c4b5..d27d1b4 100644 --- a/lib/sqfs/write_inode.c +++ b/lib/sqfs/write_inode.c @@ -15,15 +15,6 @@ #include -#if defined(_WIN32) || defined(__WINDOWS__) -# include -# ifdef _MSC_VER -# define alloca _alloca -# endif -#else -# include -#endif - static int write_block_sizes(sqfs_meta_writer_t *ir, const sqfs_inode_generic_t *n) { -- cgit v1.2.3