Undef PACKAGE_* preprocessor constants from 'gambas.h', if they are defined.

[INTERPRETER]
* BUG: Undef PACKAGE_* preprocessor constants from 'gambas.h', if they are defined.
This commit is contained in:
gambas 2020-11-24 21:43:10 +01:00
parent fd478d91b9
commit 9b3d7b4f17

View File

@ -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 <stdint.h>
#include <stddef.h>
#include <sys/types.h>