SF# 3558012 Compilation fails when building with -ansi or -std=c++0x

This commit is contained in:
Aleksandar Fabijanic
2012-09-06 03:14:17 +00:00
parent a221b14522
commit a522c31765
2 changed files with 4 additions and 4 deletions

View File

@@ -52,7 +52,7 @@
namespace Poco {
#if defined(linux) || defined(__CYGWIN__)
#if (POCO_OS == POCO_OS_LINUX) || (POCO_OS == POCO_OS_CYGWIN)
union semun
{
int val;
@@ -60,7 +60,7 @@ namespace Poco {
unsigned short int* array;
struct seminfo* __buf;
};
#elif defined(__hpux)
#elif (POCO_OS == POCO_OS_HPUX)
union semun
{
int val;