diff options
author | dscho <dscho> | 2001-09-27 11:29:05 +0000 |
---|---|---|
committer | dscho <dscho> | 2001-09-27 11:29:05 +0000 |
commit | 080ad356d38dcb2acf3cdc4e1c30b9ee12251ba0 (patch) | |
tree | 89c34d5448986489aab3e390afec7bc4921f77e8 /rfb.h | |
parent | fb53d4812061fd0976398fc2609a5f5b4a2331a6 (diff) | |
download | libtdevnc-080ad356d38dcb2acf3cdc4e1c30b9ee12251ba0.tar.gz libtdevnc-080ad356d38dcb2acf3cdc4e1c30b9ee12251ba0.zip |
try to make OSXvnc run again.
Diffstat (limited to 'rfb.h')
-rw-r--r-- | rfb.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -56,8 +56,14 @@ int max(int,int); #ifdef __linux__ #include <endian.h> #else +#ifdef __APPLE__ +#include <machine/endian.h> +#define _BYTE_ORDER BYTE_ORDER +#define _LITTLE_ENDIAN LITTLE_ENDIAN +#else #include <sys/endian.h> #endif +#endif #ifndef _BYTE_ORDER #define _BYTE_ORDER __BYTE_ORDER |