regressions/ck_stack: Disable various TRYMPMC benchmarks on unsupported platforms.

ck_pring
Samy Al Bahra 13 years ago
parent 3e4aa8239a
commit bac1c1d26a

@ -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

@ -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

Loading…
Cancel
Save