mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-18 12:28:31 +01:00
Make sha2 compile on windows
This commit is contained in:
parent
9fd387cfab
commit
9a5a0c811a
4
3rdparty/sha2/sha2.c
vendored
4
3rdparty/sha2/sha2.c
vendored
@ -84,6 +84,10 @@
|
||||
* <machine/endian.h> where the appropriate definitions are actually
|
||||
* made).
|
||||
*/
|
||||
#ifdef __MINGW32__
|
||||
#include <sys/param.h>
|
||||
#endif
|
||||
|
||||
#if !defined(BYTE_ORDER) || (BYTE_ORDER != LITTLE_ENDIAN && BYTE_ORDER != BIG_ENDIAN)
|
||||
#error Define BYTE_ORDER to be equal to either LITTLE_ENDIAN or BIG_ENDIAN
|
||||
#endif
|
||||
|
2
3rdparty/sha2/sha2.h
vendored
2
3rdparty/sha2/sha2.h
vendored
@ -71,7 +71,7 @@ extern "C" {
|
||||
* uintXX_t (from inttypes.h), you may need to define things by hand
|
||||
* for your system:
|
||||
*/
|
||||
#if 0
|
||||
#ifdef __MINGW32__
|
||||
typedef unsigned char u_int8_t; /* 1-byte (8-bits) */
|
||||
typedef unsigned int u_int32_t; /* 4-bytes (32-bits) */
|
||||
typedef unsigned long long u_int64_t; /* 8-bytes (64-bits) */
|
||||
|
Loading…
Reference in New Issue
Block a user