mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-31 06:35:03 +01:00
GH #321: trivial build fixes (BB QNX build)
This commit is contained in:
parent
68044fdae0
commit
f9057157e8
@ -61,6 +61,7 @@ Release 1.5.3 (2014-05-xx)
|
||||
- fixed GH #346: Make Poco::Data::Date and Poco::Data::Time compare functions const.
|
||||
- fixed GH #341: Compiling poco-1.5.2 for Cygwin
|
||||
- fixed GH #305: There are bugs in Buffer.h
|
||||
- fixed GH #321: trivial build fixes (BB QNX build)
|
||||
|
||||
Release 1.5.2 (2013-09-16)
|
||||
==========================
|
||||
|
@ -42,9 +42,9 @@
|
||||
|
||||
#include "Poco/Foundation.h"
|
||||
#if defined(POCO_OS_FAMILY_WINDOWS)
|
||||
#include "FileStream_WIN32.h"
|
||||
#include "Poco/FileStream_WIN32.h"
|
||||
#else
|
||||
#include "FileStream_POSIX.h"
|
||||
#include "Poco/FileStream_POSIX.h"
|
||||
#endif
|
||||
#include <istream>
|
||||
#include <ostream>
|
||||
|
@ -109,4 +109,12 @@
|
||||
#endif // __GNUC__
|
||||
|
||||
|
||||
//
|
||||
// No syslog.h on QNX/BB10
|
||||
//
|
||||
#if defined(__QNXNTO__)
|
||||
#define POCO_NO_SYSLOGCHANNEL
|
||||
#endif
|
||||
|
||||
|
||||
#endif // Foundation_Platform_POSIX_INCLUDED
|
||||
|
@ -129,7 +129,7 @@ public:
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
static size_t UTFStrlen(const T* ptr)
|
||||
static std::size_t UTFStrlen(const T* ptr)
|
||||
/// Returns the length (in characters) of a zero-terminated UTF string.
|
||||
{
|
||||
if (ptr == 0) return 0;
|
||||
|
@ -42,7 +42,7 @@
|
||||
#include "Poco/FormattingChannel.h"
|
||||
#include "Poco/SplitterChannel.h"
|
||||
#include "Poco/NullChannel.h"
|
||||
#if defined(POCO_OS_FAMILY_UNIX)
|
||||
#if defined(POCO_OS_FAMILY_UNIX) && !defined(POCO_NO_SYSLOGCHANNEL)
|
||||
#include "Poco/SyslogChannel.h"
|
||||
#endif
|
||||
#if defined(POCO_OS_FAMILY_VMS)
|
||||
|
@ -40,6 +40,7 @@
|
||||
#if defined(POCO_UNBUNDLED)
|
||||
#include <pcre.h>
|
||||
#else
|
||||
#include "pcre_config.h"
|
||||
#include "pcre.h"
|
||||
#endif
|
||||
|
||||
|
@ -78,7 +78,7 @@ void UnicodeConverter::convert(const char* utf8String, std::size_t length, UTF32
|
||||
|
||||
void UnicodeConverter::convert(const char* utf8String, UTF32String& utf32String)
|
||||
{
|
||||
if (!utf8String || !strlen(utf8String))
|
||||
if (!utf8String || !std::strlen(utf8String))
|
||||
{
|
||||
utf32String.clear();
|
||||
return;
|
||||
@ -125,7 +125,7 @@ void UnicodeConverter::convert(const char* utf8String, std::size_t length, UTF1
|
||||
|
||||
void UnicodeConverter::convert(const char* utf8String, UTF16String& utf16String)
|
||||
{
|
||||
if (!utf8String || !strlen(utf8String))
|
||||
if (!utf8String || !std::strlen(utf8String))
|
||||
{
|
||||
utf16String.clear();
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user