|
From: <pat...@us...> - 2010-09-04 17:07:23
|
Revision: 665
http://xml-cppdom.svn.sourceforge.net/xml-cppdom/?rev=665&view=rev
Author: patrickh
Date: 2010-09-04 17:07:17 +0000 (Sat, 04 Sep 2010)
Log Message:
-----------
Fixed the build when using versions of Visual C++ older than 9.0.
Submitted by: Ryan Pavlik
Modified Paths:
--------------
trunk/cppdom/cppdom.h
Modified: trunk/cppdom/cppdom.h
===================================================================
--- trunk/cppdom/cppdom.h 2010-09-04 17:04:13 UTC (rev 664)
+++ trunk/cppdom/cppdom.h 2010-09-04 17:07:17 UTC (rev 665)
@@ -110,9 +110,12 @@
typedef std::hash_map<TagNameHandle,std::string> TagNameMap_t;
typedef std::hash_map<std::string, TagNameHandle, HashString> NameToTagMap_t;
}
-# endif // # elif defined(__GNUC__) && (__GNUC__ >= 3)
+# else
+# undef CPPDOM_USE_HASH_MAP
+# endif
+#endif
-#else // #if defined(CPPDOM_USE_HASH_MAP)
+#if ! defined(CPPDOM_USE_HASH_MAP)
# include <map>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|