diff -Naur bin.UniLoggerFrameBufferRGB565_ULRev0_Dev/boost_1_35_0/boost/range/as_literal.hpp bin.UniLoggerFrameBufferRGB565_ULRev0/boost_1_35_0/boost/range/as_literal.hpp
old
|
new
|
|
25 | 25 | #include <boost/detail/workaround.hpp> |
26 | 26 | |
27 | 27 | #include <cstring> |
| 28 | #ifndef BOOST_NO_CWCHAR |
28 | 29 | #include <cwchar> |
| 30 | #endif |
29 | 31 | |
30 | 32 | namespace boost |
31 | 33 | { |
… |
… |
|
36 | 38 | return strlen( s ); |
37 | 39 | } |
38 | 40 | |
| 41 | #ifndef BOOST_NO_INTRINSIC_WCHAR_T |
39 | 42 | inline std::size_t length( const wchar_t* s ) |
40 | 43 | { |
41 | 44 | return wcslen( s ); |
42 | 45 | } |
| 46 | #endif |
43 | 47 | |
44 | 48 | // |
45 | 49 | // Remark: the compiler cannot choose between T* and T[sz] |
… |
… |
|
58 | 62 | } |
59 | 63 | |
60 | 64 | |
| 65 | #ifndef BOOST_NO_INTRINSIC_WCHAR_T |
61 | 66 | inline bool is_char_ptr( wchar_t* ) |
62 | 67 | { |
63 | 68 | return true; |
… |
… |
|
67 | 72 | { |
68 | 73 | return true; |
69 | 74 | } |
| 75 | #endif |
70 | 76 | |
71 | 77 | template< class T > |
72 | 78 | inline long is_char_ptr( T /* r */ ) |