Kaydet (Commit) d17700cc authored tarafından Michael W. Hudson's avatar Michael W. Hudson

Backport jackjansen's checkin of revision 2.37:

Workaround for what is probably a problem in Apple's gcc: <pthread.h> fails
on a function pointer formal argument called "destructor", which is typedeffed
as a different function pointer type in object.h.
üst 06efb779
......@@ -3,7 +3,13 @@
#include <stdlib.h>
#include <string.h>
#ifdef __APPLE__
#define destructor xxdestructor
#endif
#include <pthread.h>
#ifdef __APPLE__
#undef destructor
#endif
#include <signal.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment