Don't build UNIX domain socket examples on Windows platforms.
This commit is contained in:
parent
cfcdb1b9c7
commit
66a1aab567
@ -84,9 +84,6 @@ noinst_PROGRAMS = \
|
||||
examples/invocation/prioritised_handlers \
|
||||
examples/iostreams/daytime_client \
|
||||
examples/iostreams/daytime_server \
|
||||
examples/local/connect_pair \
|
||||
examples/local/stream_server \
|
||||
examples/local/stream_client \
|
||||
examples/multicast/receiver \
|
||||
examples/multicast/sender \
|
||||
examples/nonblocking/third_party_lib \
|
||||
@ -112,6 +109,13 @@ noinst_PROGRAMS = \
|
||||
examples/tutorial/daytime6/server \
|
||||
examples/tutorial/daytime7/server
|
||||
|
||||
if !WINDOWS_TARGET
|
||||
noinst_PROGRAMS += \
|
||||
examples/local/connect_pair \
|
||||
examples/local/stream_server \
|
||||
examples/local/stream_client
|
||||
endif
|
||||
|
||||
if HAVE_OPENSSL
|
||||
|
||||
noinst_PROGRAMS += \
|
||||
@ -339,9 +343,6 @@ endif
|
||||
examples_invocation_prioritised_handlers_SOURCES = examples/invocation/prioritised_handlers.cpp
|
||||
examples_iostreams_daytime_client_SOURCES = examples/iostreams/daytime_client.cpp
|
||||
examples_iostreams_daytime_server_SOURCES = examples/iostreams/daytime_server.cpp
|
||||
examples_local_connect_pair_SOURCES = examples/local/connect_pair.cpp
|
||||
examples_local_stream_server_SOURCES = examples/local/stream_server.cpp
|
||||
examples_local_stream_client_SOURCES = examples/local/stream_client.cpp
|
||||
examples_multicast_receiver_SOURCES = examples/multicast/receiver.cpp
|
||||
examples_multicast_sender_SOURCES = examples/multicast/sender.cpp
|
||||
examples_nonblocking_third_party_lib_SOURCES = examples/nonblocking/third_party_lib.cpp
|
||||
@ -369,6 +370,12 @@ examples_tutorial_daytime5_server_SOURCES = examples/tutorial/daytime5/server.cp
|
||||
examples_tutorial_daytime6_server_SOURCES = examples/tutorial/daytime6/server.cpp
|
||||
examples_tutorial_daytime7_server_SOURCES = examples/tutorial/daytime7/server.cpp
|
||||
|
||||
if !WINDOWS_TARGET
|
||||
examples_local_connect_pair_SOURCES = examples/local/connect_pair.cpp
|
||||
examples_local_stream_server_SOURCES = examples/local/stream_server.cpp
|
||||
examples_local_stream_client_SOURCES = examples/local/stream_client.cpp
|
||||
endif
|
||||
|
||||
if HAVE_OPENSSL
|
||||
|
||||
tests_unit_ssl_basic_context_SOURCES = tests/unit/ssl/basic_context.cpp
|
||||
|
@ -136,4 +136,6 @@ int main(int argc, char* argv[])
|
||||
}
|
||||
}
|
||||
|
||||
#else // defined(ASIO_HAS_LOCAL_SOCKETS)
|
||||
# error Local sockets not available on this platform.
|
||||
#endif // defined(ASIO_HAS_LOCAL_SOCKETS)
|
||||
|
@ -56,4 +56,6 @@ int main(int argc, char* argv[])
|
||||
return 0;
|
||||
}
|
||||
|
||||
#else // defined(ASIO_HAS_LOCAL_SOCKETS)
|
||||
# error Local sockets not available on this platform.
|
||||
#endif // defined(ASIO_HAS_LOCAL_SOCKETS)
|
||||
|
@ -135,4 +135,6 @@ int main(int argc, char* argv[])
|
||||
return 0;
|
||||
}
|
||||
|
||||
#else // defined(ASIO_HAS_LOCAL_SOCKETS)
|
||||
# error Local sockets not available on this platform.
|
||||
#endif // defined(ASIO_HAS_LOCAL_SOCKETS)
|
||||
|
Loading…
Reference in New Issue
Block a user