X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=config.h;h=67142318b6eaa297944887ae8ea0a1632c3acedf;hb=8aa83b81b0da2ea5b2f23e58e444ba2d49800c18;hp=571924713bff44e99419d59e0affb31d791be5a2;hpb=bcc5017524dea12048cdbf45635ee987f8e85acc;p=debian%2Fyforth diff --git a/config.h b/config.h index 5719247..6714231 100644 --- a/config.h +++ b/config.h @@ -63,10 +63,12 @@ * it if your machine is big-endian (e.g. Motorola, Sparc...) * Note that some compilers have LITTLE_ENDIAN yet defined. */ -#if __BYTE_ORDER == __LITTLE_ENDIAN +#ifndef LITTLE_ENDIAN +# if __BYTE_ORDER == __LITTLE_ENDIAN # define LITTLE_ENDIAN -#else +# else # undef LITTLE_ENDIAN +# endif #endif /* When DCELL_MEM is defined, double cell transfer is realized by memory