glibmm r722 - in trunk: . glib/glibmm



Author: arminb
Date: Wed Aug 27 09:49:45 2008
New Revision: 722
URL: http://svn.gnome.org/viewvc/glibmm?rev=722&view=rev

Log:
2008-08-27  Armin Burgmeier  <armin arbur net>

	* glib/glibmm/ustring.cc: Only include config.h when HAVE_CONFIG_H is
	defined, to allow building glibmm with MSVC without having generated
	config.h before. The only thing config.h is used for is the
	SIZEOF_WCHAR_T define anyway, and this is not needed for a MSVC build.
	Bug #549343.


Modified:
   trunk/ChangeLog
   trunk/glib/glibmm/ustring.cc

Modified: trunk/glib/glibmm/ustring.cc
==============================================================================
--- trunk/glib/glibmm/ustring.cc	(original)
+++ trunk/glib/glibmm/ustring.cc	Wed Aug 27 09:49:45 2008
@@ -28,7 +28,10 @@
 #include <iostream>
 #include <cstring>
 
+#ifdef HAVE_CONFIG_H
 #include <config.h>
+#endif
+
 #include <glibmmconfig.h>
 #ifdef GLIBMM_EXCEPTIONS_ENABLED
 # include <stdexcept>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]