Changes unknown, package changes: * the c-preprocessor should now correctly chose whether to build big-endian or little-endian specific code * added support for NetBSD native audio API
19 lines
460 B
Text
19 lines
460 B
Text
$NetBSD: patch-av,v 1.1 2002/03/23 02:36:48 wiz Exp $
|
|
|
|
--- sftype.h.orig Tue Dec 5 10:06:31 2000
|
|
+++ sftype.h
|
|
@@ -1,3 +1,4 @@
|
|
+#include "cs.h"
|
|
|
|
#if !defined(_SFTYPE_H)
|
|
#ifdef __GNUC__
|
|
@@ -25,7 +26,8 @@
|
|
|
|
typedef struct
|
|
{
|
|
-#if defined(macintosh) || defined(SGI) /* and any such bigendian m/c */
|
|
+#if defined(macintosh) || defined(SGI) || defined(__BIG_ENDIAN__)
|
|
+ /* and any such bigendian m/c */
|
|
BYTE byHi PACKED;
|
|
BYTE byLo PACKED;
|
|
#else
|