aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libpqxx/src/version.cxx
blob: 1fba1ec6d4fd5c88cc72ca36fea3c4d496c35932 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "pqxx/compiler-internal.hxx"

#include "pqxx/version"

namespace pqxx
{
namespace internal
{
// One, single definition of this function.  If a call fails to link, then the
// libpqxx binary was built against a different libpqxx version than the code
// which is being linked against it.
template<> PQXX_LIBEXPORT
int check_library_version<PQXX_VERSION_MAJOR, PQXX_VERSION_MINOR>() noexcept
{
  return 0;
}
}
}