59 |
#define MAX(x,y) (((x) > (y)) ? (x) : (y)) |
#define MAX(x,y) (((x) > (y)) ? (x) : (y)) |
60 |
#endif |
#endif |
61 |
|
|
62 |
|
/* If configure does not define the endianess, try |
63 |
|
to find it out */ |
64 |
|
#if !defined(L_ENDIAN) && !defined(B_ENDIAN) |
65 |
|
#if __BYTE_ORDER == __LITTLE_ENDIAN |
66 |
|
#define L_ENDIAN |
67 |
|
#elif __BYTE_ORDER == __BIG_ENDIAN |
68 |
|
#define B_ENDIAN |
69 |
|
#else |
70 |
|
#error Unknown endianness. Edit rdesktop.h. |
71 |
|
#endif |
72 |
|
#endif /* B_ENDIAN, L_ENDIAN from configure */ |
73 |
|
|
74 |
#include "parse.h" |
#include "parse.h" |
75 |
#include "constants.h" |
#include "constants.h" |
76 |
#include "types.h" |
#include "types.h" |