aboutsummaryrefslogtreecommitdiff
path: root/mysql/custom/driver.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-07-08 14:54:20 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-07-08 14:54:20 +0200
commit7b31bf12b9f517e2a9795d63a1701cdf23279d5a (patch)
treebee55e48487f8e5f94c79098012f846b232a5b47 /mysql/custom/driver.cxx
parent9d516749457284f093306b5e4673cec1818c3d53 (diff)
Add support for Visual Studio 2005
Diffstat (limited to 'mysql/custom/driver.cxx')
-rw-r--r--mysql/custom/driver.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql/custom/driver.cxx b/mysql/custom/driver.cxx
index 95b3517..d9453ec 100644
--- a/mysql/custom/driver.cxx
+++ b/mysql/custom/driver.cxx
@@ -32,7 +32,10 @@ main (int argc, char* argv[])
o.p = point (1.1111, 2222222222.2);
o.pv.push_back (point (1.1234, 2.2345));
o.pv.push_back (point (3.3456, 4.4567));
+ // VC8 just cannot roundtrip this.
+#if !defined(_MSC_VER) || _MSC_VER >= 1500
o.pv.push_back (point (0.0000001, 0.000000001)); // Scientific notation.
+#endif
// Persist.
//