pkgsrc/graphics/hermes/patches/patch-aa
garbled be34e76bd7 Hermes-1.2.5
Library for conversion of pixel graphics.

Some help from Hubert on this one..
1999-07-08 17:16:39 +00:00

18 lines
476 B
Text

$NetBSD: patch-aa,v 1.1.1.1 1999/07/08 17:16:39 garbled Exp $
--- src/HermConf.h.BAK Sat Apr 17 00:03:08 1999
+++ src/HermConf.h Sat Apr 17 00:03:19 1999
@@ -20,6 +20,14 @@
#endif
#endif
+#if defined(__NetBSD__)
+# if (BYTE_ORDER == LITTLE_ENDIAN)
+# define __LITTLE_ENDIAN__ 1
+# else /* BYTE_ORDER == LITTLE_ENDIAN */
+# define __BIG_ENDIAN__ 1
+# endif /* BYTE_ORDER == LITTLE_ENDIAN */
+#endif /* __NetBSD__ */
+
#ifdef __CYGWIN32__
#define __CYGNUS__