From 14fd841456e326473efd41711a47d3703b5deb26 Mon Sep 17 00:00:00 2001 From: Rico Tiongson Date: Sun, 3 Mar 2019 23:12:08 +0800 Subject: [PATCH] Bugfix for python2 --- cpp/_macro.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cpp/_macro.cpp b/cpp/_macro.cpp index f7adcb4..bffa78a 100644 --- a/cpp/_macro.cpp +++ b/cpp/_macro.cpp @@ -1,13 +1,12 @@ #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__ */