X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=images%2Fconfig.c;h=8c07f2d8ed55c5192d092e4cc61d08b4609fe6fc;hb=8c48090e240d68564c79eb29ac9004cc911bb5d0;hp=658d9fb100ad899810db5acbc6173527ff426170;hpb=491b1b752d5aa2e7d779f91e36fc4e0c8a5c53ac;p=libucw.git diff --git a/images/config.c b/images/config.c index 658d9fb1..8c07f2d8 100644 --- a/images/config.c +++ b/images/config.c @@ -9,7 +9,7 @@ #include "lib/lib.h" #include "lib/conf.h" #include "images/images.h" -#ifndef CONFIG_FREE +#if defined(CONFIG_IMAGES_SIM) || defined(CONFIG_IMAGES_DUP) #include "images/signature.h" #endif @@ -20,7 +20,7 @@ uns image_trace; uns image_max_dim = 0xffff; uns image_max_bytes = ~0U; -#ifndef CONFIG_FREE +#if defined(CONFIG_IMAGES_SIM) || defined(CONFIG_IMAGES_DUP) /* ImageSig section */ uns image_sig_min_width; uns image_sig_min_height; @@ -45,7 +45,7 @@ static struct cf_section image_lib_config = { } }; -#ifndef CONFIG_FREE +#if defined(CONFIG_IMAGES_SIM) || defined(CONFIG_IMAGES_DUP) static struct cf_section image_sig_config = { CF_ITEMS{ CF_UNS("MinWidth", &image_sig_min_width), @@ -69,7 +69,7 @@ static void CONSTRUCTOR images_init_config(void) { cf_declare_section("ImageLib", &image_lib_config, 0); -#ifndef CONFIG_FREE +#if defined(CONFIG_IMAGES_SIM) || defined(CONFIG_IMAGES_DUP) cf_declare_section("ImageSig", &image_sig_config, 0); #endif }