[SF 2725424] TestThreadStack size fails on Solaris

This commit is contained in:
Aleksandar Fabijanic
2009-04-01 17:43:06 +00:00
parent 3ddef9f5e5
commit 3679c609a1
2 changed files with 4 additions and 2 deletions

View File

@@ -39,7 +39,9 @@
#include "Poco/Event.h"
#include <iostream>
#if defined(__sun) && defined(__SVR4)
#define __EXTENSIONS__
# if !defined(__EXTENSIONS__)
# define __EXTENSIONS__
# endif
#endif
#include <climits>

View File

@@ -62,7 +62,7 @@ RELEASEOPT_LINK =
#
# System Specific Flags
#
SYSFLAGS = -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS
SYSFLAGS = -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_C_SOURCE=199506L -D__EXTENSIONS__
#
# System Specific Libraries