diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2024-01-25 18:53:34 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2024-01-25 18:53:34 +0300 |
commit | 81ca6a1aed69885827b06f09fb7926e39b5c25a2 (patch) | |
tree | 095aec8e4250f99422f20f78d45fdbf8830a1102 /libodb-mysql/odb/mysql/details/config.hxx | |
parent | 4260db6bc3cb9fb3d47d2d4cf0a7b6d49cf1e919 (diff) | |
parent | 3a160a80c788d81e48acf19a2cf68f29cf125dae (diff) |
Merge branch 'libodb-mysql' into multi-package
Diffstat (limited to 'libodb-mysql/odb/mysql/details/config.hxx')
-rw-r--r-- | libodb-mysql/odb/mysql/details/config.hxx | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/libodb-mysql/odb/mysql/details/config.hxx b/libodb-mysql/odb/mysql/details/config.hxx new file mode 100644 index 0000000..eeeee5c --- /dev/null +++ b/libodb-mysql/odb/mysql/details/config.hxx @@ -0,0 +1,32 @@ +// file : odb/mysql/details/config.hxx +// license : GNU GPL v2; see accompanying LICENSE file + +#ifndef ODB_MYSQL_DETAILS_CONFIG_HXX +#define ODB_MYSQL_DETAILS_CONFIG_HXX + +// no pre + +#ifdef ODB_COMPILER +# error libodb-mysql header included in odb-compiled header +#elif !defined(LIBODB_MYSQL_BUILD2) +# ifdef _MSC_VER +# include <odb/mysql/details/config-vc.h> +# else +# include <odb/mysql/details/config.h> +# endif +#endif + +// LIBODB_MYSQL_BUILD2 macro can be defined either by the buildfile or by the +// included odb/mysql/details/config*.h (see above). +// +#ifdef LIBODB_MYSQL_BUILD2 +# ifdef LIBODB_MYSQL_INCLUDE_SHORT +# error mysql headers must be included with mysql/ prefix +# elif !defined(LIBODB_MYSQL_INCLUDE_LONG) +# define LIBODB_MYSQL_INCLUDE_LONG 1 +# endif +#endif + +// no post + +#endif // ODB_MYSQL_DETAILS_CONFIG_HXX |