# HG changeset patch # User Bruno Haible # Date 1316811822 -7200 # Node ID 05bdc6eefa0741c9f6dc577712fe10e50ce7ce0b # Parent ebd508fbaab8ffb55de8bb9a3760b2d65a1f8ee4 pipe2: Fix compilation on pre-C99 compilers. * lib/pipe2.c (pipe2): Surround verify(...) declaration with braces. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-09-23 Bruno Haible + + pipe2: Fix compilation on pre-C99 compilers. + * lib/pipe2.c (pipe2): Surround verify(...) declaration with braces. + 2011-09-23 Bruno Haible New module 'msvc-nothrow'. Makes _get_osfhandle safe on MSVC 9. diff --git a/lib/pipe2.c b/lib/pipe2.c --- a/lib/pipe2.c +++ b/lib/pipe2.c @@ -95,7 +95,9 @@ goto fail; } # else - verify (O_NONBLOCK == 0); + { + verify (O_NONBLOCK == 0); + } # endif return 0;