mirror of https://github.com/xiph/flac
Some MinGW fixes (SF#1684879: https://sourceforge.net/tracker/index.php?func=detail&aid=1684879&group_id=13478&atid=113478)
This commit is contained in:
parent
7992b9428d
commit
4d8060421b
|
@ -100,6 +100,7 @@
|
|||
<ul>
|
||||
<li>Fixed bug compiling <span class="commandname">flac</span> without Ogg support (<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=1760786&group_id=13478&atid=113478">SF #1760786</a>).</li>
|
||||
<li>Fixed bug where sometimes an existing installation of flac could interfere with the build process (<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=1763690&group_id=13478&atid=113478">SF #1763690</a>).</li>
|
||||
<li>Some MinGW fixes (<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=1684879&group_id=13478&atid=113478">SF #1684879</a>).</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
|
|
|
@ -39,6 +39,8 @@
|
|||
#include <winsock.h> /* for ntohl() */
|
||||
#elif defined FLAC__SYS_DARWIN
|
||||
#include <machine/endian.h> /* for ntohl() */
|
||||
#elif defined __MINGW32__
|
||||
#include <winsock.h> /* for ntohl() */
|
||||
#else
|
||||
#include <netinet/in.h> /* for ntohl() */
|
||||
#endif
|
||||
|
|
|
@ -39,6 +39,8 @@
|
|||
#include <winsock.h> /* for ntohl() */
|
||||
#elif defined FLAC__SYS_DARWIN
|
||||
#include <machine/endian.h> /* for ntohl() */
|
||||
#elif defined __MINGW32__
|
||||
#include <winsock.h> /* for ntohl() */
|
||||
#else
|
||||
#include <netinet/in.h> /* for ntohl() */
|
||||
#endif
|
||||
|
|
|
@ -42,8 +42,8 @@
|
|||
#include <string.h> /* for strrchr() */
|
||||
#if defined _WIN32 && !defined __CYGWIN__
|
||||
// for GetFileInformationByHandle() etc
|
||||
#include <Windows.h>
|
||||
#include <Winbase.h>
|
||||
#include <windows.h>
|
||||
#include <winbase.h>
|
||||
#endif
|
||||
#include "share/grabbag.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue