Add -DASIO_NO_DEPRECATED

This commit is contained in:
RYAN 2024-09-05 22:33:46 +02:00
parent 0a5d8e4658
commit fd9172b4f3
Signed by: RYAN
GPG Key ID: 3BD93EABD1407B82
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
: 1 : 1
name: libasio name: libasio
version: 1.29.0 version: 1.29.0+1
language: c++ language: c++
summary: Cross-platform C++ library for asynchronous network programming summary: Cross-platform C++ library for asynchronous network programming
license: BSL-1.0 ; Boost Software License 1.0. license: BSL-1.0 ; Boost Software License 1.0.

View File

@ -71,6 +71,7 @@ src_pfx_inc = [dir_path] $src_root/include/
# #
poptions = "-I$src_pfx_inc" \ poptions = "-I$src_pfx_inc" \
-DASIO_STANDALONE \ -DASIO_STANDALONE \
-DASIO_NO_DEPRECATED \
-DASIO_DISABLE_BOOST_CONTEXT_FIBER \ -DASIO_DISABLE_BOOST_CONTEXT_FIBER \
-DASIO_DISABLE_BOOST_COROUTINE -DASIO_DISABLE_BOOST_COROUTINE