mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
fix MSVC check for ntohl()
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
|
||||
#include <stdlib.h> /* for malloc() */
|
||||
#include <string.h> /* for memcpy(), memset() */
|
||||
#if defined(_MSC_VER) && _MSC_VER <= 1200
|
||||
#ifdef _MSC_VER
|
||||
#include <winsock.h> /* for ntohl() */
|
||||
#elif defined FLAC__SYS_DARWIN
|
||||
#include <machine/endian.h> /* for ntohl() */
|
||||
|
||||
Reference in New Issue
Block a user