X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=filter.h;h=456a50de3a79c942299ddea50f21fc2169fac9f4;hp=06d727f5fe79488951d7a539b9bcd735e9fdce17;hb=7f053695dcb0ab70745a457048e6fb0b83d75d47;hpb=85225bb1292d1885e0261fb5109d18ecd584c267 diff --git a/filter.h b/filter.h index 06d727f5..456a50de 100644 --- 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