aboutsummaryrefslogtreecommitdiff
path: root/mysql/custom
diff options
context:
space:
mode:
Diffstat (limited to 'mysql/custom')
-rw-r--r--mysql/custom/driver.cxx3
-rw-r--r--mysql/custom/makefile5
2 files changed, 7 insertions, 1 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.
//
diff --git a/mysql/custom/makefile b/mysql/custom/makefile
index f857ea4..428a869 100644
--- a/mysql/custom/makefile
+++ b/mysql/custom/makefile
@@ -48,12 +48,14 @@ $(dist): headers := $(odb_hdr)
$(dist): export extra_headers := traits.hxx query.hxx
$(dist): data_dist := test.std
$(dist): export name := $(subst /,-,$(subst $(src_root)/mysql/,,$(src_base)))
-$(dist): export extra_dist := $(data_dist) $(name)-vc9.vcproj \
+$(dist): export extra_dist := $(data_dist) \
+$(name)-vc8.vcproj $(name)-vc9.vcproj \
$(name)-vc10.vcxproj $(name)-vc10.vcxproj.filters \
$(name)-vc11.vcxproj $(name)-vc11.vcxproj.filters
$(dist):
$(call dist-data,$(sources) $(headers) $(extra_headers) $(data_dist))
$(call meta-automake,../template/Makefile.am)
+ $(call meta-vc8proj,../template/template-vc8.vcproj,$(name)-vc8.vcproj)
$(call meta-vc9proj,../template/template-vc9.vcproj,$(name)-vc9.vcproj)
$(call meta-vc10proj,../template/template-vc10.vcxproj,$(name)-vc10.vcxproj)
$(call meta-vc11proj,../template/template-vc11.vcxproj,$(name)-vc11.vcxproj)
@@ -85,6 +87,7 @@ endif
# How to.
#
$(call include,$(bld_root)/dist.make)
+$(call include,$(bld_root)/meta/vc8proj.make)
$(call include,$(bld_root)/meta/vc9proj.make)
$(call include,$(bld_root)/meta/vc10proj.make)
$(call include,$(bld_root)/meta/vc11proj.make)