summaryrefslogtreecommitdiff
path: root/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler.h')
-rw-r--r--compiler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler.h b/compiler.h
index ced029c9..01e11277 100644
--- a/compiler.h
+++ b/compiler.h
@@ -103,6 +103,9 @@ char *strsep(char **, const char *);
*/
#if defined(__386__) || defined(__i386__) || defined(__x86_64__)
# define X86_MEMORY 1
+# ifndef WORDS_LITTLEENDIAN
+# define WORDS_LITTLEENDIAN 1
+# endif
#else
# define X86_MEMORY 0
#endif