mirror of
https://github.com/KDE/krfb
synced 2026-07-01 15:31:19 -07:00
+#ifndef _BYTE_ORDER
#define _BYTE_ORDER BYTE_ORDER +#endif +#ifndef _LITTLE_ENDIAN #define _LITTLE_ENDIAN LITTLE_ENDIAN +#endif These are already defined on FreeBSD, so don't try and do it again. Previously applied to HEAD, these didn't make it to the release or the branch. svn path=/branches/KDE_3_1_BRANCH/kdenetwork/krfb/; revision=191459
This commit is contained in:
@@ -65,8 +65,12 @@ typedef unsigned long KeySym;
|
||||
#elif defined(__APPLE__) || defined(__FreeBSD__)
|
||||
#include <sys/types.h>
|
||||
#include <machine/endian.h>
|
||||
#ifndef _BYTE_ORDER
|
||||
#define _BYTE_ORDER BYTE_ORDER
|
||||
#endif
|
||||
#ifndef _LITTLE_ENDIAN
|
||||
#define _LITTLE_ENDIAN LITTLE_ENDIAN
|
||||
#endif
|
||||
#elif defined (__SVR4) && defined (__sun) /* Solaris */
|
||||
#include <sys/types.h>
|
||||
#if defined(__sparc)
|
||||
|
||||
Reference in New Issue
Block a user