From 9b3d7b4f17597c73a15d22a5c16750c74c91111b Mon Sep 17 00:00:00 2001 From: gambas Date: Tue, 24 Nov 2020 21:43:10 +0100 Subject: [PATCH] Undef PACKAGE_* preprocessor constants from 'gambas.h', if they are defined. [INTERPRETER] * BUG: Undef PACKAGE_* preprocessor constants from 'gambas.h', if they are defined. --- main/share/gambas.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/main/share/gambas.h b/main/share/gambas.h index 599085ecc..7c2cb2a22 100644 --- a/main/share/gambas.h +++ b/main/share/gambas.h @@ -29,8 +29,17 @@ #endif #ifndef NO_CONFIG_H +#ifdef PACKAGE_NAME + #undef PACKAGE_NAME + #undef PACKAGE_BUGREPORT + #undef PACKAGE_STRING + #undef PACKAGE_TARNAME + #undef PACKAGE_VERSION + #undef PACKAGE_URL +#endif #include "config.h" #endif + #include #include #include