[MPlayer-dev-eng] [PATCH] Silence some -Wundef warnings
Erik Auerswald
auerswal at unix-ag.uni-kl.de
Tue Jan 8 11:39:27 CET 2013
Hi,
the attached patch silences some -Wundef warnings by always creating the
relevant #defines, even when not configuring for Windows:
libdvdcss/libdvdcss.c:123:5: warning: "HAVE_DIRECT_H" is not defined
[-Wundef]
libdvdcss/libdvdcss.c:241:5: warning: "HAVE_DIRECT_H" is not defined
[-Wundef]
libavformat/cache.c:36:5: warning: "HAVE_IO_H" is not defined [-Wundef]
libavformat/file.c:26:5: warning: "HAVE_IO_H" is not defined [-Wundef]
libavutil/file.c:28:5: warning: "HAVE_IO_H" is not defined [-Wundef]
libavutil/log.c:32:5: warning: "HAVE_IO_H" is not defined [-Wundef]
I have tested the patch on GNU/Linux, not on Windows, but it looks
"obviously correct" to me. ;-)
Thanks,
Erik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-configure-always_define_have_direct_h_io_h.patch
Type: text/x-diff
Size: 717 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20130108/6735070a/attachment.bin>
More information about the MPlayer-dev-eng
mailing list