From d73f125237d82ed713b765c04a41489cb43a52ce Mon Sep 17 00:00:00 2001 From: Rico Tiongson Date: Sun, 3 Mar 2019 23:03:40 +0800 Subject: [PATCH] Error message --- cpp/_macro.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cpp/_macro.cpp b/cpp/_macro.cpp index bffa78a..f7adcb4 100644 --- a/cpp/_macro.cpp +++ b/cpp/_macro.cpp @@ -1,12 +1,13 @@ #ifndef __COMFORTABLE_SWIPE__macro_hpp__ #define __COMFORTABLE_SWIPE__macro_hpp__ +#undef COMFORTABLE_SWIPE_CONFIG #ifndef COMFORTABLE_SWIPE_CONFIG -#error "COMFORTABLE_SWIPE_CONFIG must be defined." +#error COMFORTABLE_SWIPE_CONFIG must be defined. #endif /* COMFORTABLE_SWIPE_CONFIG */ #ifndef COMFORTABLE_SWIPE_VERSION -#warning "COMFORTABLE_SWIPE_VERSION is not defined." +#warning COMFORTABLE_SWIPE_VERSION is not defined. #endif /* COMFORTABLE_SWIPE_VERSION */ #endif /* __COMFORTABLE_SWIPE__macro_hpp__ */