From 49d974db77f4cfae7c326f4970790ff0df6fed0a Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Fri, 25 Sep 2015 23:51:42 +0200 Subject: [PATCH] Avoids redefinition of constants --- .../volk_gnsssdr/tmpl/volk_gnsssdr_config_fixed.tmpl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/tmpl/volk_gnsssdr_config_fixed.tmpl.h b/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/tmpl/volk_gnsssdr_config_fixed.tmpl.h index f1b33691f..2736826ed 100644 --- a/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/tmpl/volk_gnsssdr_config_fixed.tmpl.h +++ b/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/tmpl/volk_gnsssdr_config_fixed.tmpl.h @@ -20,7 +20,9 @@ #define INCLUDED_VOLK_GNSSSDR_CONFIG_FIXED_H #for $i, $arch in enumerate($archs) +#ifndef LV_$(arch.name.upper()) #define LV_$(arch.name.upper()) $i +#endif #end for #endif /*INCLUDED_VOLK_GNSSSDR_CONFIG_FIXED*/