mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 19:10:20 +01:00
GH #321: trivial build fixes (BB QNX build)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user