libxml++ r195 - in trunk: . libxml++/parsers libxml++/validators



Author: arminb
Date: Mon Mar  2 14:35:14 2009
New Revision: 195
URL: http://svn.gnome.org/viewvc/libxml++?rev=195&view=rev

Log:
2009-03-02  Armin Burgmeier  <armin openismus com>

	* libxml++/validators/validator.h:
	* libxml++/parsers/parser.h: Removed the vsnprintf #define on Windows.
	This could conflict with another define otherwise. Both MSVC and MinGW
	have vsnprintf (without underscore) as well, and I verified libxml++
	still compiles in both. If we still need the definition for some
	reason, then we should re-add it into the source files, so that other
	libraries don't conflict with our definition.


Modified:
   trunk/ChangeLog
   trunk/libxml++/parsers/parser.h
   trunk/libxml++/validators/validator.h

Modified: trunk/libxml++/parsers/parser.h
==============================================================================
--- trunk/libxml++/parsers/parser.h	(original)
+++ trunk/libxml++/parsers/parser.h	Mon Mar  2 14:35:14 2009
@@ -17,10 +17,6 @@
 
 #include <istream>
 
-#ifdef WIN32 //TODO: Why do we do this? murrayc.
-#define vsnprintf _vsnprintf
-#endif
-
 #ifndef DOXYGEN_SHOULD_SKIP_THIS
 extern "C" {
   struct _xmlParserCtxt;

Modified: trunk/libxml++/validators/validator.h
==============================================================================
--- trunk/libxml++/validators/validator.h	(original)
+++ trunk/libxml++/validators/validator.h	Mon Mar  2 14:35:14 2009
@@ -16,10 +16,6 @@
 #include <libxml++/exceptions/validity_error.h>
 #include <libxml++/exceptions/internal_error.h>
 
-#ifdef WIN32 //TODO: Why do we do this? murrayc.
-#define vsnprintf _vsnprintf
-#endif
-
 extern "C" {
   struct _xmlValidCtxt;
 }



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