[Bug 722953] v4l2: ENODATA is Linux-only

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Jan 25 09:40:22 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=722953
  GStreamer | gst-plugins-good | unspecified

--- Comment #3 from Ryan Lortie (desrt) <desrt at desrt.ca> 2014-01-25 17:40:16 UTC ---
POSIX pretty explicitly states that the errno constants that is mandates must
be #ifdef-ible:

All values listed in this section shall be unique integer constant expressions
with type int suitable for use in #if preprocessing directives...

http://pubs.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_03.html

Of course, ENODATA is not standard -- but given that POSIX mandates error
constants being defines, I think it's pretty reasonable to assume that the
non-standard error constants that Linux adds will be as well.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list