summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2003-01-11 15:53:53 +0000
committerMike Melanson <mike@multimedia.cx>2003-01-11 15:53:53 +0000
commit330004fb3f8c479c9619436b15f76dce95e83cbf (patch)
tree8fa257060134baa67666645e6571abd990a96bd6
parent7c68e9ee3f4faa5203cb35be04d58db68e3c82db (diff)
downloadxine-lib-330004fb3f8c479c9619436b15f76dce95e83cbf.tar.gz
xine-lib-330004fb3f8c479c9619436b15f76dce95e83cbf.tar.bz2
make the Nosefart engine aware of the config's WORDS_BIGENDIAN #define
CVS patchset: 3874 CVS date: 2003/01/11 15:53:53
-rw-r--r--src/libxineadec/nosefart/types.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/libxineadec/nosefart/types.h b/src/libxineadec/nosefart/types.h
index 4d78dbabc..a61f16a55 100644
--- a/src/libxineadec/nosefart/types.h
+++ b/src/libxineadec/nosefart/types.h
@@ -20,14 +20,18 @@
** types.h
**
** Data type definitions
-** $Id: types.h,v 1.2 2003/01/09 19:50:04 jkeil Exp $
+** $Id: types.h,v 1.3 2003/01/11 15:53:53 tmmm Exp $
*/
#ifndef _TYPES_H_
#define _TYPES_H_
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
/* Define this if running on little-endian (x86) systems */
-#if defined(sparc)
+#ifdef WORDS_BIGENDIAN
#undef HOST_LITTLE_ENDIAN
#else
#define HOST_LITTLE_ENDIAN
@@ -88,6 +92,9 @@ typedef uint8 boolean;
/*
** $Log: types.h,v $
+** Revision 1.3 2003/01/11 15:53:53 tmmm
+** make the Nosefart engine aware of the config's WORDS_BIGENDIAN #define
+**
** Revision 1.2 2003/01/09 19:50:04 jkeil
** NSF audio files were crashing on SPARC.
**