[Mobies-commit] [commit] r3897 - UDM/trunk/src/UdmPOI

ksmyth at redhat1.isis.vanderbilt.edu ksmyth at redhat1.isis.vanderbilt.edu
Tue Sep 20 12:09:01 CDT 2011


Author: ksmyth
Date: Tue Sep 20 12:09:01 2011
New Revision: 3897

Log:
Need Uml_xsd on VS10 to link to UdmDll

Modified:
   UDM/trunk/src/UdmPOI/UdmPOI.cpp

Modified: UDM/trunk/src/UdmPOI/UdmPOI.cpp
==============================================================================
--- UDM/trunk/src/UdmPOI/UdmPOI.cpp	Tue Sep 20 12:09:00 2011	(r3896)
+++ UDM/trunk/src/UdmPOI/UdmPOI.cpp	Tue Sep 20 12:09:01 2011	(r3897)
@@ -39,14 +39,17 @@
 #include <UdmOcl.h>
 #include <cstring>
 
+#if (_MSC_VER == 1600) /* VS2010 */
+#include "../Uml/Uml_xsd.h"
+#endif
+
 #define METADEPOSITORY_KEY(key) (string("__UdmPOI__") + string(key))
 
 using namespace Udm;
 using namespace Uml;
 
-namespace Uml_xsd
-{
- const std::string& getString();
+namespace Uml_xsd {
+	const std::string& getString();
 }
 
 static string last_error;			//static string to store the last error


More information about the Mobies-commit mailing list