This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhangyang-zerotierone/ext/libpqxx-7.7.3/src/version.cxx
2022-06-24 10:12:36 -07:00

28 lines
750 B
C++

/** Version check.
*
* Copyright (c) 2000-2022, Jeroen T. Vermeulen.
*
* See COPYING for copyright license. If you did not receive a file called
* COPYING with this source code, please notify the distributor of this
* mistake, or contact the author.
*/
#include "pqxx-source.hxx"
#include "pqxx/internal/header-pre.hxx"
#include "pqxx/version.hxx"
#include "pqxx/internal/header-post.hxx"
namespace pqxx::internal
{
// One, single definition of this function. If a call fails to link, and
// (some) other calls do link, then the libpqxx binary was built against a
// different libpqxx version than the code which is being linked against it.
PQXX_LIBEXPORT int PQXX_VERSION_CHECK() noexcept
{
return 0;
}
} // namespace pqxx::internal