From 0717312c50bf083a9d6c40279861f5ed63c024e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jesmar=20Canna=C3=B2?= Date: Sun, 8 Feb 2015 12:51:22 +0100 Subject: [PATCH] Fix Issue #175 Print "DEBUG" in version if compiled with DEBUG option : main process --- include/proxysql.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/proxysql.h b/include/proxysql.h index f27761dc0..3863c856e 100644 --- a/include/proxysql.h +++ b/include/proxysql.h @@ -78,8 +78,12 @@ //#include "cpp.h" - -#define PROXYSQL_VERSION "20140617" +#ifdef DEBUG +#define DEB "_DEBUG" +#else +#define DEB "" +#endif /* DEBUG */ +#define PROXYSQL_VERSION "20140617" DEB #define PROXYSQL_CODENAME "Hebe" #ifndef PROXYSQL_FUNC_DEFS