mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-poco.git
synced 2025-11-01 19:17:59 +00:00
Fedora Core9/g++ 4.3.0 patch
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
#include "Poco/NotificationStrategy.h"
|
||||
#include <map>
|
||||
#include <list>
|
||||
#include <memory>
|
||||
|
||||
|
||||
namespace Poco {
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include <cstddef>
|
||||
#include <cstring>
|
||||
|
||||
|
||||
namespace Poco {
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
|
||||
#include "Poco/BinaryWriter.h"
|
||||
#include "Poco/ByteOrder.h"
|
||||
#include <cstring>
|
||||
|
||||
|
||||
namespace Poco {
|
||||
|
||||
@@ -45,6 +45,7 @@
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
#include <utime.h>
|
||||
#include <cstring>
|
||||
|
||||
|
||||
namespace Poco {
|
||||
|
||||
@@ -151,7 +151,7 @@ int ThreadImpl::getMaxOSPriorityImpl()
|
||||
|
||||
void ThreadImpl::setStackSizeImpl(int size)
|
||||
{
|
||||
#if (POCO_OS == POCO_OS_CYGWIN)
|
||||
#ifndef PTHREAD_STACK_MIN
|
||||
_pData->stackSize = 0;
|
||||
#else
|
||||
if (size != 0 && size < PTHREAD_STACK_MIN)
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#include "Poco/Buffer.h"
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
#include <memory.h>
|
||||
#include <cstring>
|
||||
|
||||
|
||||
using Poco::Bugcheck;
|
||||
|
||||
@@ -281,7 +281,7 @@ void ThreadTest::testThreadStackSize()
|
||||
|
||||
stackSize = 1;
|
||||
thread.setStackSize(stackSize);
|
||||
#if !defined(_WIN32) && !(POCO_OS == POCO_OS_CYGWIN)
|
||||
#ifdef PTHREAD_STACK_MIN
|
||||
assert (PTHREAD_STACK_MIN == thread.getStackSize());
|
||||
#else
|
||||
assert (stackSize == thread.getStackSize());
|
||||
|
||||
Reference in New Issue
Block a user