diff --git a/gthread/ChangeLog b/gthread/ChangeLog index 42038ba66..800457403 100644 --- a/gthread/ChangeLog +++ b/gthread/ChangeLog @@ -1,3 +1,9 @@ +2000-03-20 Sebastian Wilhelmi + + * gthread-posix.c (posix_check_for_error): Forgot a '}' in a macro + for DCE-threads. Thanks to Karl Nelson + for pointing that out. + 2000-03-17 Sebastian Wilhelmi * gthread-posix.c: Don't use priorities for threads, when the diff --git a/gthread/gthread-posix.c b/gthread/gthread-posix.c index aeaac4610..13ba0c63c 100644 --- a/gthread/gthread-posix.c +++ b/gthread/gthread-posix.c @@ -55,7 +55,7 @@ # define condattr_default NULL #elif defined(G_THREADS_IMPL_DCE) # define posix_check_for_error( what ) G_STMT_START{ \ - if( (what) == -1 ) { posix_print_error( what, errno ); \ + if( (what) == -1 ) { posix_print_error( what, errno ); } \ }G_STMT_END # define pthread_key_create(a, b) pthread_keycreate (a, b) # define pthread_attr_init(a) pthread_attr_create (a)