error.h: move E_BAD_USER from audiod_command to command error list
[paraslash.git] / filter.h
index 06d727f5fe79488951d7a539b9bcd735e9fdce17..456a50de3a79c942299ddea50f21fc2169fac9f4 100644 (file)
--- a/filter.h
+++ b/filter.h
@@ -303,7 +303,7 @@ void *(*parse_config)(int argc, char **argv);
 
 static inline void write_int16_host_endian(char *buf, int16_t val)
 {
-#ifndef BIGENDIAN
+#ifdef WORDS_BIGENDIAN
        *buf = val >> 8;
        *(buf + 1) = val & 0xff;
 #else