Add header file containing version number.
This commit is contained in:
parent
ee4d63e31f
commit
476963e8d0
@ -145,6 +145,7 @@ nobase_include_HEADERS = \
|
||||
asio/system_error.hpp \
|
||||
asio/thread.hpp \
|
||||
asio/time_traits.hpp \
|
||||
asio/version.hpp \
|
||||
asio/write.hpp \
|
||||
asio.hpp
|
||||
|
||||
|
@ -68,6 +68,7 @@
|
||||
#include "asio/system_error.hpp"
|
||||
#include "asio/thread.hpp"
|
||||
#include "asio/time_traits.hpp"
|
||||
#include "asio/version.hpp"
|
||||
#include "asio/write.hpp"
|
||||
|
||||
#endif // ASIO_HPP
|
||||
|
23
asio/include/asio/version.hpp
Normal file
23
asio/include/asio/version.hpp
Normal file
@ -0,0 +1,23 @@
|
||||
//
|
||||
// version.hpp
|
||||
// ~~~~~~~~~~~
|
||||
//
|
||||
// Copyright (c) 2003-2007 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
|
||||
#ifndef ASIO_VERSION_HPP
|
||||
#define ASIO_VERSION_HPP
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
|
||||
# pragma once
|
||||
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
|
||||
|
||||
// ASIO_VERSION % 100 is the sub-minor version
|
||||
// ASIO_VERSION / 100 % 1000 is the minor version
|
||||
// ASIO_VERSION / 100000 is the major version
|
||||
#define ASIO_VERSION 308 // 0.3.8
|
||||
|
||||
#endif // ASIO_VERSION_HPP
|
Loading…
Reference in New Issue
Block a user