Patch #618347: Work around Solaris 2.6 pthread.h bug. Will backport to 2.2.

This commit is contained in:
Martin v. Löwis 2002-10-04 07:21:24 +00:00
parent 3d61a06aa2
commit a7a76d3d9e
4 changed files with 25 additions and 3 deletions

View file

@ -3,11 +3,11 @@
#include <stdlib.h>
#include <string.h>
#ifdef __APPLE__
#if defined(__APPLE__) || defined(HAVE_PTHREAD_DESTRUCTOR)
#define destructor xxdestructor
#endif
#include <pthread.h>
#ifdef __APPLE__
#if defined(__APPLE__) || defined(HAVE_PTHREAD_DESTRUCTOR)
#undef destructor
#endif
#include <signal.h>