svn 23918 - vocenc.c:37: error : `ENOTSUP' undeclared

John Brown <[email protected]>
Newsgroups gmane.comp.video.mplayer.cygwin
Message-ID <[email protected]>
Hello All,

The latest svn gives the following error:

gcc -I../libavcodec  -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOUR
CE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdisabled-optimization -Wdeclarati
on-after-statement -I. -I.. -I../libavutil -W -Wall -O2 -march=prescott -mtune=p
rescott -pipe -g3  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOU
RCE -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include  -c
 -o vocenc.o vocenc.c
vocenc.c: In function `voc_write_header':^M
vocenc.c:37: error: `ENOTSUP' undeclared (first use in this function)^M

ENOTSUP is not in the list of errno constants at
http://msdn2.microsoft.com/en-us/library/5814770t(VS.80).aspx, but apparently,
it can be found in pthread.h. I worked around this by adding -DENOTSUP=48 to
OPTFLAGS.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.