SF.net SVN: geany-plugins:[2264] trunk/geany-plugins/xmlsnippets/src

statc at users.sourceforge.net statc at xxxxx
Sun Oct 9 04:50:52 UTC 2011


Revision: 2264
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2264&view=rev
Author:   statc
Date:     2011-10-09 04:50:51 +0000 (Sun, 09 Oct 2011)
Log Message:
-----------
XMLSnippets: include config.h into every *.c file to prevent i18n issue [1]

[1] <http://lists.uvena.de/geany-devel/2011-October/005627.html>

Modified Paths:
--------------
    trunk/geany-plugins/xmlsnippets/src/test-stubs.c
    trunk/geany-plugins/xmlsnippets/src/tests.c
    trunk/geany-plugins/xmlsnippets/src/xmlsnippets.c

Modified: trunk/geany-plugins/xmlsnippets/src/test-stubs.c
===================================================================
--- trunk/geany-plugins/xmlsnippets/src/test-stubs.c	2011-10-08 22:52:54 UTC (rev 2263)
+++ trunk/geany-plugins/xmlsnippets/src/test-stubs.c	2011-10-09 04:50:51 UTC (rev 2264)
@@ -21,6 +21,10 @@
 
 #ifdef TEST
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include "test-stubs.h"
 #include <ctype.h>
 

Modified: trunk/geany-plugins/xmlsnippets/src/tests.c
===================================================================
--- trunk/geany-plugins/xmlsnippets/src/tests.c	2011-10-08 22:52:54 UTC (rev 2263)
+++ trunk/geany-plugins/xmlsnippets/src/tests.c	2011-10-09 04:50:51 UTC (rev 2264)
@@ -21,6 +21,10 @@
 
 #ifdef TEST
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include "test-stubs.h"
 #include "xmlsnippets.h"
 #include <string.h>

Modified: trunk/geany-plugins/xmlsnippets/src/xmlsnippets.c
===================================================================
--- trunk/geany-plugins/xmlsnippets/src/xmlsnippets.c	2011-10-08 22:52:54 UTC (rev 2263)
+++ trunk/geany-plugins/xmlsnippets/src/xmlsnippets.c	2011-10-09 04:50:51 UTC (rev 2264)
@@ -19,6 +19,10 @@
  * MA 02110-1301, USA.
  */
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include "xmlsnippets.h"
 #include <ctype.h>
 #include <string.h>

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Plugins-Commits mailing list