aboutsummaryrefslogtreecommitdiff
path: root/odb/boost/date-time
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-11-02 15:58:39 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-11-02 15:58:39 +0200
commit7149e01a1e3b8e8e2b6eca65b5da35500d83b88f (patch)
treed4ea588162aec1c26b54ef86acc2b3914a06e134 /odb/boost/date-time
parent8eccd5b6cdfd8b60a74f539bdca8439ef6af5611 (diff)
Include default mapping in prologue instead of epilogue
This will allow the user to customize the mapping.
Diffstat (limited to 'odb/boost/date-time')
-rw-r--r--odb/boost/date-time/gregorian-mysql.options6
-rw-r--r--odb/boost/date-time/gregorian-pgsql.options6
-rw-r--r--odb/boost/date-time/gregorian-sqlite.options6
-rw-r--r--odb/boost/date-time/posix-time-mysql.options6
-rw-r--r--odb/boost/date-time/posix-time-pgsql.options6
-rw-r--r--odb/boost/date-time/posix-time-sqlite.options6
6 files changed, 30 insertions, 6 deletions
diff --git a/odb/boost/date-time/gregorian-mysql.options b/odb/boost/date-time/gregorian-mysql.options
index 953f21a..c406f53 100644
--- a/odb/boost/date-time/gregorian-mysql.options
+++ b/odb/boost/date-time/gregorian-mysql.options
@@ -5,5 +5,9 @@
--profile boost/version
---odb-epilogue '#include <odb/boost/date-time/mysql/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/mysql/gregorian-mapping.hxx>'
+
--hxx-prologue '#include <odb/boost/date-time/mysql/gregorian-traits.hxx>'
diff --git a/odb/boost/date-time/gregorian-pgsql.options b/odb/boost/date-time/gregorian-pgsql.options
index 368fed9..f1058db 100644
--- a/odb/boost/date-time/gregorian-pgsql.options
+++ b/odb/boost/date-time/gregorian-pgsql.options
@@ -5,5 +5,9 @@
--profile boost/version
---odb-epilogue '#include <odb/boost/date-time/pgsql/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/pgsql/gregorian-mapping.hxx>'
+
--hxx-prologue '#include <odb/boost/date-time/pgsql/gregorian-traits.hxx>'
diff --git a/odb/boost/date-time/gregorian-sqlite.options b/odb/boost/date-time/gregorian-sqlite.options
index 8cd370d..36c6081 100644
--- a/odb/boost/date-time/gregorian-sqlite.options
+++ b/odb/boost/date-time/gregorian-sqlite.options
@@ -5,5 +5,9 @@
--profile boost/version
---odb-epilogue '#include <odb/boost/date-time/sqlite/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/sqlite/gregorian-mapping.hxx>'
+
--hxx-prologue '#include <odb/boost/date-time/sqlite/gregorian-traits.hxx>'
diff --git a/odb/boost/date-time/posix-time-mysql.options b/odb/boost/date-time/posix-time-mysql.options
index e87e11e..ec0a5a6 100644
--- a/odb/boost/date-time/posix-time-mysql.options
+++ b/odb/boost/date-time/posix-time-mysql.options
@@ -5,5 +5,9 @@
--profile boost/version
---odb-epilogue '#include <odb/boost/date-time/mysql/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/mysql/posix-time-mapping.hxx>'
+
--hxx-prologue '#include <odb/boost/date-time/mysql/posix-time-traits.hxx>'
diff --git a/odb/boost/date-time/posix-time-pgsql.options b/odb/boost/date-time/posix-time-pgsql.options
index e0abc81..2ff573f 100644
--- a/odb/boost/date-time/posix-time-pgsql.options
+++ b/odb/boost/date-time/posix-time-pgsql.options
@@ -5,5 +5,9 @@
--profile boost/version
---odb-epilogue '#include <odb/boost/date-time/pgsql/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/pgsql/posix-time-mapping.hxx>'
+
--hxx-prologue '#include <odb/boost/date-time/pgsql/posix-time-traits.hxx>'
diff --git a/odb/boost/date-time/posix-time-sqlite.options b/odb/boost/date-time/posix-time-sqlite.options
index 918f6fc..0d869a5 100644
--- a/odb/boost/date-time/posix-time-sqlite.options
+++ b/odb/boost/date-time/posix-time-sqlite.options
@@ -5,5 +5,9 @@
--profile boost/version
---odb-epilogue '#include <odb/boost/date-time/sqlite/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/sqlite/posix-time-mapping.hxx>'
+
--hxx-prologue '#include <odb/boost/date-time/sqlite/posix-time-traits.hxx>'