mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
MSVC doesn't define __LITTLE_ENDIAN__
This commit is contained in:
parent
947f97c537
commit
76cb365a3d
1 changed files with 4 additions and 0 deletions
|
|
@ -28,6 +28,10 @@
|
|||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#if defined(PLATFORM_WINDOWS) && !defined(__LITTLE_ENDIAN__)
|
||||
#define __LITTLE_ENDIAN__
|
||||
#endif
|
||||
|
||||
#ifdef __BIG_ENDIAN__
|
||||
# define SHA_BIG_ENDIAN
|
||||
#elif defined _BIG_ENDIAN
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue