From a41f6187423cf3785af10e9a9fce79191c878e0b Mon Sep 17 00:00:00 2001 From: frnmst/Franco Masotti Date: Fri, 29 Apr 2016 17:59:00 +0200 Subject: [PATCH] Fixed macro. --- src/salibc.c | 1 + src/salibc_test.c | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/salibc.c b/src/salibc.c index 59e4c68..5e24b20 100644 --- a/src/salibc.c +++ b/src/salibc.c @@ -93,6 +93,7 @@ element_null (void *element) } #if defined (MEMORY_OVERLAP_CHECK) || DOXYGEN + /** * @brief If this flag is defined memory_overlaps function will work normally, * otherwise it will only return false. By default this flag is deactivated. diff --git a/src/salibc_test.c b/src/salibc_test.c index 4c1442a..12c4165 100644 --- a/src/salibc_test.c +++ b/src/salibc_test.c @@ -29,11 +29,13 @@ #include "salibc.h" +#if defined (SALIBC_TEST) || DOXYGEN + /** * @brief if this flag is defined then the main function in this file is * included. */ -#if defined (SALIBC_TEST) || DOXYGEN +#define SALIBC_TEST /** * @note Use: