[FFmpeg-devel] [PATCH] Microsoft Interix support

pross at xvid.org pross
Thu Feb 21 14:54:41 CET 2008


interix is microsoft's free posix migration environment for
windows, and is better known as services-for-unix (sfu)
or "subsystem-for-unix-applications (sua)". the latest release
for includes gcc-3.3 and binutils-2.13, with a microsoft
derived c99 stdlib. the enclosed patch corrects some minor
annoyances when building ffmpeg.

summary of changes:
- configure: vhooks requires -export-dynamic and this causes
  a false-positive when configure tests for closesocket().
- des.h uses uint64_t, but only includes inttypes.h.
  according to the iso, only stdint.h has to define uint64_t
- rtpproto.c uses select() but does not include sys/select.h

the microsoft stdlib is almost c99, but the following features are
missing. i'll submit a seperate bug dump to the sfu/sua team:

-DPRIx64=\"%llx\" -DPRId64=\"%lld\" -DPRIu64=\"%llu\" -DPRIdFAST16=\"%hd\" -DPRIdFAST32=\"%ld\"

-- pete
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-microsoft-interix.diff
Type: text/x-diff
Size: 1124 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080222/e2a7c537/attachment.diff>

More information about the ffmpeg-devel mailing list