patch-src_threads_posix_thread-posix_h 399 B

1234567891011121314
  1. --- cacao-0.99.4.orig/src/threads/posix/thread-posix.h 2008-08-04 18:51:28.000000000 +0200
  2. +++ cacao-0.99.4/src/threads/posix/thread-posix.h 2011-03-26 20:12:13.000000000 +0100
  3. @@ -34,7 +34,11 @@ typedef struct threadobject threadobject
  4. #include "config.h"
  5. #include <pthread.h>
  6. +#if defined(__DARWIN__)
  7. +#include <sys/ucontext.h>
  8. +#else
  9. #include <ucontext.h>
  10. +#endif
  11. #include "vm/types.h"