diff src/nas.c @ 371:cc15677e0335 r21-2b1

Import from CVS: tag r21-2b1
author cvs
date Mon, 13 Aug 2007 11:03:08 +0200
parents 30d2cfa1092a
children a300bb07d72d
line wrap: on
line diff
--- a/src/nas.c	Mon Aug 13 11:01:58 2007 +0200
+++ b/src/nas.c	Mon Aug 13 11:03:08 2007 +0200
@@ -54,8 +54,6 @@
 #ifdef emacs
 #include <config.h>
 #include "lisp.h"
-#include "sysdep.h"		/* for (start|stop)_interrupts */
-#include "syssignal.h"
 #endif
 
 #if __STDC__ || defined (STDC_HEADERS)
@@ -69,24 +67,15 @@
 #endif
 
 #include <stdio.h>
+#include "syssignal.h"
 
-/* NAS 1.2p5 and previous define these in conflict with GNU libc (at least) */
-#ifndef NAS_USES_OWN_NAMESPACE
 #undef LITTLE_ENDIAN
 #undef BIG_ENDIAN
-#endif
-
 #include <audio/audiolib.h>
 #include <audio/soundlib.h>
 #include <audio/snd.h>
 #include <audio/fileutil.h>
 
-/* If needed (NAS <= 1.2p5) define the NAS_ versions of *_ENDIAN */
-#ifndef NAS_USES_OWN_NAMESPACE
-#define NAS_LITTLE_ENDIAN LITTLE_ENDIAN
-#define NAS_BIG_ENDIAN BIG_ENDIAN
-#endif
-
 #ifdef emacs
 
 #    define XTOOLKIT
@@ -677,7 +666,7 @@
 
   memcpy (&si->h, data, sizeof (SndHeader));
 
-  if (NAS_LITTLE_ENDIAN)
+  if (LITTLE_ENDIAN)
     {
       char            n;