From 7a06bf39db9cf3a9ec61b8bb0bef03247373337f Mon Sep 17 00:00:00 2001 From: Logan007 Date: Thu, 10 Sep 2020 14:08:08 +0545 Subject: [PATCH] made compression scheme name accessible even if not compiled --- include/n2n_define.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/n2n_define.h b/include/n2n_define.h index a0a684a..19bbfea 100644 --- a/include/n2n_define.h +++ b/include/n2n_define.h @@ -58,10 +58,8 @@ #define N2N_COMPRESSION_ID_INVALID 0 #define N2N_COMPRESSION_ID_NONE 1 /* default, see edge_init_conf_defaults(...) in edge_utils.c */ #define N2N_COMPRESSION_ID_LZO 2 /* set if '-z1' or '-z' cli option is present, see setOption(...) in edge.c */ -#ifdef N2N_HAVE_ZSTD #define N2N_COMPRESSION_ID_ZSTD 3 /* set if '-z2' cli option is present, available only if compiled with zstd lib */ #define ZSTD_COMPRESSION_LEVEL 7 /* 1 (faster) ... 22 (more compression) */ -#endif /* (un)purgeable community indicator (supernode) */ #define COMMUNITY_UNPURGEABLE 0