|
1 | | -#ifndefBOOST_NETWORK_DEBUG_HPP_20110410 |
2 | | -#defineBOOST_NETWORK_DEBUG_HPP_20110410 |
| 1 | +#ifndefNETWORK_DEBUG_HPP_20110410 |
| 2 | +#defineNETWORK_DEBUG_HPP_20110410 |
3 | 3 |
|
4 | 4 | // (c) Copyright 2011 Dean Michael Berris. |
5 | 5 | // Copyright 2012 Google, Inc. |
6 | 6 | // Distributed under the Boost Software License, Version 1.0. |
7 | 7 | // (See accompanying file LICENSE_1_0.txt or copy at |
8 | 8 | // http://www.boost.org/LICENSE_1_0.txt) |
9 | 9 |
|
10 | | -/**BOOST_NETWORK_MESSAGE is a debugging macro used by cpp-netlib to |
11 | | - print out network-related errors through standard error. This is |
12 | | -onlyuseful whenBOOST_NETWORK_DEBUG is turned on. Otherwise |
13 | | -the macro amounts to ano-op. |
| 10 | +/**NETWORK_MESSAGE is a debugging macro used by cpp-netlib to |
| 11 | + print out network-related errors through standard error. This is only |
| 12 | + useful whenNETWORK_DEBUG is turned on. Otherwise the macro amounts to a |
| 13 | + no-op. |
14 | 14 | */ |
15 | | -#ifdefBOOST_NETWORK_DEBUG |
| 15 | +#ifdefNETWORK_DEBUG |
16 | 16 | #include<iostream> |
17 | | -#ifndefBOOST_NETWORK_MESSAGE |
18 | | -#defineBOOST_NETWORK_MESSAGE(msg) std::cerr <<"[DEBUG" << __FILE__ <<':' << __LINE__ <<"]:" << msg << std::endl; |
| 17 | +#ifndefNETWORK_MESSAGE |
| 18 | +#defineNETWORK_MESSAGE(msg) std::cerr <<"[DEBUG" << __FILE__ <<':' << __LINE__ <<"]:" << msg << std::endl; |
19 | 19 | #endif |
20 | 20 | #else |
21 | | -#ifndefBOOST_NETWORK_MESSAGE |
22 | | -#defineBOOST_NETWORK_MESSAGE(msg) |
| 21 | +#ifndefNETWORK_MESSAGE |
| 22 | +#defineNETWORK_MESSAGE(msg) |
23 | 23 | #endif |
24 | 24 | #endif |
25 | 25 |
|
26 | | -#endif/* end of include guard:BOOST_NETWORK_DEBUG_HPP_20110410*/ |
| 26 | +#endif/* end of include guard:NETWORK_DEBUG_HPP_20110410*/ |