GH #321: trivial build fixes (BB QNX build)

This commit is contained in:
Alex Fabijanic
2014-04-30 22:58:28 -05:00
parent 68044fdae0
commit f9057157e8
7 changed files with 16 additions and 6 deletions

View File

@@ -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>

View File

@@ -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

View File

@@ -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;