20 lines
556 B
Text
20 lines
556 B
Text
$NetBSD: patch-am,v 1.1 2003/01/27 23:39:04 ad Exp $
|
|
|
|
--- dpteng/osd_util.h.orig Fri Dec 13 14:57:20 2002
|
|
+++ dpteng/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
|