Hey guys,
today I renamed the globally defined DATADIR macro ($prefix/share) to GEANYPLUGINS_DATADIR.
The reason for this is that on Windows, DATADIR is defined in a header file which is implicitly included by windows.h and this would lead to compilation errors when DATADIR is defined by the build system.
So, any plugin authors who need to access the DATADIR variable should use GEANYPLUGINS_DATADIR from now on.
Chow Loong Jin added two more global macros:
PKGDATADIR=$(prefix)/share/geany-plugins PKGLIBDIR=$(prefix)/lib/geany-plugins
Regards, Enrico