Merge pull request #479 from lurch/patch-1

Don't allow both ENDIANNESSes to be set
pull/481/merge
Damien George 2014-04-14 21:41:05 +01:00
commit 3d867f5eab
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -193,6 +193,10 @@ typedef double mp_float_t;
// Just because most archs are such?
#define MP_ENDIANNESS_LITTLE (1)
#endif
// Ensure we don't accidentally set both endiannesses
#if MP_ENDIANNESS_BIG
#define MP_ENDIANNESS_LITTLE (0)
#endif
// printf format spec to use for machine_int_t and friends
#ifndef INT_FMT