lcksk / gst123

Automatically exported from code.google.com/p/gst123
0 stars 0 forks source link

[PATCH] fix compilation on GNU/Hurd #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The compilation of gst123 0.2.2 fails on GNU/Hurd.
The problem is the name of the parameter of NetworkStream::net_error() (errno) 
in src/iostream.h, due to a different way/place errno on GNU/Hurd is declared. 
Simply renaming it to 'error' (as it is used in src/networkstream.cc) fixes the 
issue; attached patch for it.
(In general, 'errno' is a reserved name, so renaming it anyway would be a good 
thing.)

Thanks.

Original issue reported on code.google.com by toscano....@tiscali.it on 14 Feb 2012 at 3:02

Attachments:

GoogleCodeExporter commented 8 years ago
Applied, so it will be in the next release. Thanks.

Original comment by Stefan.W...@gmail.com on 14 Feb 2012 at 5:17