diff --git a/regressions/ck_stack/validate/pair.c b/regressions/ck_stack/validate/pair.c index 261e169..8261070 100644 --- a/regressions/ck_stack/validate/pair.c +++ b/regressions/ck_stack/validate/pair.c @@ -172,7 +172,7 @@ main(int argc, char *argv[]) pthread_t *thread; struct timeval stv, etv; -#if defined(MPMC) && (!defined(CK_F_STACK_PUSH_MPMC) || !defined(CK_F_STACK_POP_MPMC)) +#if (defined(TRYMPMC) || defined(MPMC)) && (!defined(CK_F_STACK_PUSH_MPMC) || !defined(CK_F_STACK_POP_MPMC)) fprintf(stderr, "Unsupported.\n"); return 0; #endif diff --git a/regressions/ck_stack/validate/pop.c b/regressions/ck_stack/validate/pop.c index 27d65ad..0b5af13 100644 --- a/regressions/ck_stack/validate/pop.c +++ b/regressions/ck_stack/validate/pop.c @@ -192,7 +192,7 @@ main(int argc, char *argv[]) pthread_t *thread; struct timeval stv, etv; -#if defined(MPMC) && (!defined(CK_F_STACK_PUSH_MPMC) || !defined(CK_F_STACK_POP_MPMC)) +#if (defined(TRYMPMC) || defined(MPMC)) && (!defined(CK_F_STACK_PUSH_MPMC) || !defined(CK_F_STACK_POP_MPMC)) fprintf(stderr, "Unsupported.\n"); return 0; #endif