Commits on Source (5)
-
Rémi Denis-Courmont authored
Not exact (and mismatched) defines.
262997e9 -
Rémi Denis-Courmont authoredccef59c9
-
Rémi Denis-Courmont authored
VLC_EGENERIC has no equivalent in <errno.h>, so it should not alias any <errno.h> value. This maps it to INT_MIN. It works because -INT_MIN equals INT_MAX + 1, which is out of range of `int`. As a reminder codes in <errno.h> are positive integers. The convoluted definition is to avoid pulling <limits.h> into <vlc_common.h> and from there all over the code base.
83541df6 -
Rémi Denis-Courmont authored2d80a675
-
Rémi Denis-Courmont authored0f2a579a