test/testatomic.c
changeset 10679 a458fc3377dc
parent 10003 d91a2c45825e
child 10737 3406a0f8b041
     1.1 --- a/test/testatomic.c	Mon Dec 05 21:28:27 2016 -0800
     1.2 +++ b/test/testatomic.c	Tue Dec 06 00:40:09 2016 -0800
     1.3 @@ -103,7 +103,10 @@
     1.4  #define NInter (CountTo/CountInc/NThreads)
     1.5  #define Expect (CountTo-NInter*CountInc*NThreads)
     1.6  
     1.7 -SDL_COMPILE_TIME_ASSERT(size, CountTo>0); /* check for rollover */
     1.8 +enum {
     1.9 +   CountTo_GreaterThanZero = CountTo > 0,
    1.10 +};
    1.11 +SDL_COMPILE_TIME_ASSERT(size, CountTo_GreaterThanZero); /* check for rollover */
    1.12  
    1.13  static SDL_atomic_t good = { 42 };
    1.14