aboutsummaryrefslogtreecommitdiff
path: root/lib/cximage-6.0
diff options
context:
space:
mode:
authorFneufneu <fneufneu@xbmc.org>2011-02-04 10:21:05 +0100
committerFneufneu <fneufneu@xbmc.org>2012-05-07 09:33:51 +0200
commit99f2af2ac6a2d77fb662c95089b6167daf90ea8e (patch)
tree671e08acfff6b3ff16615930ff49b6d2c1c99c14 /lib/cximage-6.0
parenta3d171e8006c2e4ee9464f6f2fc4ec68ce9b1dc0 (diff)
comment line for FreeBSD
TODO: understand that error dcr.c:148:8: error: member reference base type 'dcr_stream_obj' (aka 'void') is not a structure or union if (fileno(dcr.obj_) > 2) (*dcr.ops_->close_)(dcr.obj_); ^~~~~~~~~~~~~~~~ In file included from dcr.c:43: /usr/include/stdio.h:483:36: note: instantiated from: define fileno(p) (!__isthreaded ? __sfileno(p) : (fileno)(p)) ^ /usr/include/stdio.h:474:28: note: instantiated from: define __sfileno(p) ((p)->_file) ~~~ ^
Diffstat (limited to 'lib/cximage-6.0')
-rw-r--r--lib/cximage-6.0/raw/dcr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/cximage-6.0/raw/dcr.c b/lib/cximage-6.0/raw/dcr.c
index 9a85dc783d..1668dd0122 100644
--- a/lib/cximage-6.0/raw/dcr.c
+++ b/lib/cximage-6.0/raw/dcr.c
@@ -144,7 +144,9 @@ int DCR_CLASS main (int argc, char **argv)
//!!! set return point for error handling
if (setjmp (dcr.failure)) {
+#if !defined(__FreeBSD__)
if (fileno(dcr.obj_) > 2) (*dcr.ops_->close_)(dcr.obj_);
+#endif
if (fileno(ofp) > 2) fclose(ofp);
status = 1;
goto cleanup;