change preprocessor directive
This commit is contained in:
parent
8761a4c05c
commit
94e5681aed
6
C/init.c
6
C/init.c
@ -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
|
||||||
|
Reference in New Issue
Block a user