mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-05 22:18:33 +00:00
Fix build error spotted by gcc-4.4
#elif with no clause is clearly wrong and continuing when we don't know the byte order only defers the problem to a point where its much harder to debug git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1767 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
c077255702
commit
b727ce320d
@ -37,8 +37,8 @@ typedef uint64_t ulong64;
|
||||
#define ENDIAN_LITTLE
|
||||
#elif _BYTE_ORDER == _BIG_ENDIAN
|
||||
#define ENDIAN_BIG
|
||||
#elif
|
||||
#warning "cannot detect byte order"
|
||||
#else
|
||||
#error "cannot detect byte order"
|
||||
#endif
|
||||
|
||||
#if defined(COROSYNC_LINUX)
|
||||
|
Loading…
Reference in New Issue
Block a user