From ecda8950030c934a2f2e31bd4cf708e91739987b Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Mon, 15 Jul 2019 19:30:53 +0200 Subject: [PATCH] move zip C dependency to thirdparty/ --- {vlib/szip => thirdparty/zip}/miniz.h | 0 {vlib/szip => thirdparty/zip}/zip.c | 0 {vlib/szip => thirdparty/zip}/zip.h | 0 vlib/szip/szip.v | 7 +++---- 4 files changed, 3 insertions(+), 4 deletions(-) rename {vlib/szip => thirdparty/zip}/miniz.h (100%) rename {vlib/szip => thirdparty/zip}/zip.c (100%) rename {vlib/szip => thirdparty/zip}/zip.h (100%) diff --git a/vlib/szip/miniz.h b/thirdparty/zip/miniz.h similarity index 100% rename from vlib/szip/miniz.h rename to thirdparty/zip/miniz.h diff --git a/vlib/szip/zip.c b/thirdparty/zip/zip.c similarity index 100% rename from vlib/szip/zip.c rename to thirdparty/zip/zip.c diff --git a/vlib/szip/zip.h b/thirdparty/zip/zip.h similarity index 100% rename from vlib/szip/zip.h rename to thirdparty/zip/zip.h diff --git a/vlib/szip/szip.v b/vlib/szip/szip.v index 5835766b88..237e101703 100644 --- a/vlib/szip/szip.v +++ b/vlib/szip/szip.v @@ -1,8 +1,6 @@ module szip -// what the shit im do -// #flag -I @VROOT/thirdparty/szip -#flag -I . +#flag -I @VROOT/thirdparty/zip #include "zip.c" #include "zip.h" @@ -284,4 +282,5 @@ pub fn (zentry mut zip_ptr) total() ?int { return error('szip: cannot count total entries.') } return _tentry -} \ No newline at end of file +} +