fix mac non-futures, non-places build

This commit is contained in:
Matthew Flatt 2011-05-27 20:11:18 -06:00
parent 8ef1d1a547
commit 32522f1f68
3 changed files with 3 additions and 2 deletions

View File

@ -9,6 +9,8 @@
#include "mzrt.h"
#include "schgc.h"
THREAD_LOCAL_DECL(mz_proc_thread *proc_thread_self);
#ifdef MZ_XFORM
START_XFORM_SUSPEND;
#endif

View File

@ -21,7 +21,6 @@ static int id_counter;
static mzrt_mutex *id_counter_mutex;
SHARED_OK mz_proc_thread *scheme_master_proc_thread;
THREAD_LOCAL_DECL(mz_proc_thread *proc_thread_self);
THREAD_LOCAL_DECL(void *place_object);
static Scheme_Object *scheme_place(int argc, Scheme_Object *args[]);
static Scheme_Object *scheme_place_wait(int argc, Scheme_Object *args[]);

View File

@ -433,7 +433,7 @@ THREAD_LOCAL_DECL(extern volatile int scheme_fuel_counter);
THREAD_LOCAL_DECL(extern Scheme_Thread *scheme_main_thread);
#if defined(MZ_USE_PLACES) || defined(MZ_USE_FUTURES)
#if defined(MZ_USE_PLACES) || defined(MZ_USE_FUTURES) || defined(USE_PTHREAD_THREAD_TIMER)
# define MZ_USE_MZRT
#endif