Revision: 1394 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1394&view=re... Author: eht16 Date: 2010-05-23 17:53:44 +0000 (Sun, 23 May 2010)
Log Message: ----------- Define GEANYPLUGINS_DATADIR as replacement for the DATADIR macro which cannot be used on Windows
Modified Paths: -------------- trunk/geany-plugins/build/vars.build.mk trunk/geany-plugins/geanylua/glspi_init.c
Modified: trunk/geany-plugins/build/vars.build.mk =================================================================== --- trunk/geany-plugins/build/vars.build.mk 2010-05-23 17:42:14 UTC (rev 1393) +++ trunk/geany-plugins/build/vars.build.mk 2010-05-23 17:53:44 UTC (rev 1394) @@ -3,6 +3,7 @@ -DPREFIX=""$(prefix)"" \ -DDOCDIR=""$(docdir)"" \ -DDATADIR=""$(datadir)"" \ + -DGEANYPLUGINS_DATADIR=""$(datadir)"" \ -DLIBDIR=""$(libdir)"" \ $(GEANY_CFLAGS)
Modified: trunk/geany-plugins/geanylua/glspi_init.c =================================================================== --- trunk/geany-plugins/geanylua/glspi_init.c 2010-05-23 17:42:14 UTC (rev 1393) +++ trunk/geany-plugins/geanylua/glspi_init.c 2010-05-23 17:53:44 UTC (rev 1394) @@ -407,7 +407,7 @@ g_free(install_dir); return result; #else - return g_strdup(DATADIR); + return g_strdup(GEANYPLUGINS_DATADIR); #endif }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.