Loading...
Searching...
No Matches
Go to the documentation of this file.
18#ifndef XNETWORK_CONFIG_HPP
19#define XNETWORK_CONFIG_HPP
22#define XNETWORK_VERSION_MAJOR 0
24#define XNETWORK_VERSION_MINOR 1
26#define XNETWORK_VERSION_PATCH 1
29# define __has_feature(x) 0
33#if (defined(__cpp_exceptions) || defined(__EXCEPTIONS) || defined(_CPPUNWIND)) \
34 && !defined(XNETWORK_NO_EXCEPTIONS)
38# define XNETWORK_NO_EXCEPTIONS
41#if defined(XNETWORK_NO_EXCEPTIONS)
42# define XNETWORK_THROW(_, msg) \
44 std::cerr << msg << '\n'; \
48# define XNETWORK_THROW(exception, msg) throw exception(msg)