ports/net/libvncserver/patches/patch-rfb_rfbproto_h

12 lines
288 B
Text

Index: rfb/rfbproto.h
--- rfb/rfbproto.h.orig
+++ rfb/rfbproto.h
@@ -79,7 +79,7 @@ typedef int8_t rfbBool;
#if LIBVNCSERVER_HAVE_ENDIAN_H
# include <endian.h>
-# if __BYTE_ORDER == __BIG_ENDIAN
+# if BYTE_ORDER == BIG_ENDIAN
# define LIBVNCSERVER_WORDS_BIGENDIAN 1
# endif
#endif