|
From: <sv...@va...> - 2008-06-29 07:19:54
|
Author: bart Date: 2008-06-29 08:20:00 +0100 (Sun, 29 Jun 2008) New Revision: 8305 Log: Added #define _GNU_SOURCE to make sure that this test compiles with older POSIX threads implementations. Modified: trunk/exp-drd/tests/pth_barrier_reinit.c Modified: trunk/exp-drd/tests/pth_barrier_reinit.c =================================================================== --- trunk/exp-drd/tests/pth_barrier_reinit.c 2008-06-28 16:55:35 UTC (rev 8304) +++ trunk/exp-drd/tests/pth_barrier_reinit.c 2008-06-29 07:20:00 UTC (rev 8305) @@ -1,5 +1,13 @@ +/** Trigger barrier reinitialization, which is not allowed by the POSIX + * threads standard. See also http://www.opengroup.org/onlinepubs/000095399/functions/pthread_barrier_init.html. + */ + + +#define _GNU_SOURCE + #include <pthread.h> + int main(int argc, char** argv) { pthread_barrier_t b; |