support for threads.

This commit is contained in:
Vítor Santos Costa 2011-11-30 13:05:06 +00:00
parent 7f6084b3b7
commit e06560eff4

View File

@ -2,6 +2,15 @@
#define YAP_REGS_H 1
#ifdef THREADS
#if USE_PTHREAD_LOCKING
#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE 600
#endif /* !_XOPEN_SOURCE */
#endif /* USE_PTHREAD_LOCKING */
#include <pthread.h>
#endif
#if defined(TABLING) || defined(YAPOR_SBA)
typedef struct trail_frame {
Term term;