aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-11-29 14:13:42 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-11-29 14:13:42 +0200
commitc5f16a1cec01db2932c2b316f8d81db8c46d5d01 (patch)
treebbe60dc1ee024d6cc9a80bb733454817818b3ca0
parent79ac0a00db6c65fe3d815ebb1d18e2a7957d66d3 (diff)
Include default mapping in prologue instead of epilogue (Oracle)
-rw-r--r--odb/boost/date-time/gregorian-oracle.options6
-rw-r--r--odb/boost/date-time/posix-time-oracle.options6
2 files changed, 10 insertions, 2 deletions
diff --git a/odb/boost/date-time/gregorian-oracle.options b/odb/boost/date-time/gregorian-oracle.options
index 4ae1dc9..9f81b32 100644
--- a/odb/boost/date-time/gregorian-oracle.options
+++ b/odb/boost/date-time/gregorian-oracle.options
@@ -5,5 +5,9 @@
--profile boost/version
---odb-epilogue '#include <odb/boost/date-time/oracle/gregorian-mapping.hxx>'
+# Include the default mapping in prologue instead of epilogue to
+# allow the user to override the default mapping.
+#
+--odb-prologue '#include <odb/boost/date-time/oracle/gregorian-mapping.hxx>'
+
--hxx-prologue '#include <odb/boost/date-time/oracle/gregorian-traits.hxx>'
diff --git a/odb/boost/date-time/posix-time-oracle.options b/odb/boost/date-time/posix-time-oracle.options
index 20baf53..bdc4c6f 100644
--- a/odb/boost/date-time/posix-time-oracle.options
+++ b/odb/boost/date-time/posix-time-oracle.options
@@ -5,5 +5,9 @@
--profile boost/version
---odb-epilogue '#include <odb/boost/date-time/oracle/posix-time-mapping.hxx>'
+# Include the default mapping in prologue instead of epilogue to
+# allow the user to override the default mapping.
+#
+--odb-prologue '#include <odb/boost/date-time/oracle/posix-time-mapping.hxx>'
+
--hxx-prologue '#include <odb/boost/date-time/oracle/posix-time-traits.hxx>'