change preprocessor directive

This commit is contained in:
Joao 2011-03-24 16:47:34 +00:00
parent 8761a4c05c
commit 94e5681aed

View File

@ -1242,10 +1242,10 @@ struct worker_shared *Yap_global;
struct worker_shared Yap_Global; struct worker_shared Yap_Global;
#endif #endif
#if defined(YAPOR) && !defined(THREADS) #if defined(THREADS)
struct worker_local *Yap_WLocal;
#elif defined(YAPOR) || defined(THREADS)
struct worker_local *Yap_WLocal[MAX_AGENTS]; struct worker_local *Yap_WLocal[MAX_AGENTS];
#elif defined(YAPOR)
struct worker_local *Yap_WLocal;
#else #else
struct worker_local Yap_WLocal; struct worker_local Yap_WLocal;
#endif #endif