2013-09-26 17:14:40 +02:00

23 lines
584 B
Plaintext

$NetBSD: patch-an,v 1.2 2011/05/22 19:11:42 dholland Exp $
Config for NetBSD.
--- dptutil/osd_util.h.orig Fri Dec 13 14:57:20 2002
+++ dptutil/osd_util.h Fri Dec 13 15:03:59 2002
@@ -108,6 +108,15 @@
/* OS dependent defines */
/*--------------------- */
+#ifdef __NetBSD__
+# if defined(__powerpc__) || defined(__sparc__) || defined(__sparc64__)
+# define _DPT_BIG_ENDIAN
+# endif
+# if defined(_DPT_BIG_ENDIAN) || defined(__alpha__)
+# define _DPT_STRICT_ALIGN
+# endif
+#endif
+
#if defined (_DPT_MSDOS) || defined (_DPT_WIN_3X)
#define _DPT_16_BIT
#else