From 6172c8a71aacbd894dff622a0dd9d593c10a8e48 Mon Sep 17 00:00:00 2001
From: Raymond Toy <toy.raymond@gmail.com>
Date: Fri, 10 Oct 2014 19:40:37 -0700
Subject: [PATCH] For x86, define FEATURE_ELF if needed.

And this is definitely needed now on Linux at least to define the
right EXTERN_ALIEN_NAME.
---
 src/lisp/Config.x86_common | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/lisp/Config.x86_common b/src/lisp/Config.x86_common
index ee06a1a60..f0de2ca80 100644
--- a/src/lisp/Config.x86_common
+++ b/src/lisp/Config.x86_common
@@ -45,6 +45,10 @@ ifdef FEATURE_UNICODE
 CPP_DEFINE_OPTIONS += -DUNICODE
 endif
 
+ifdef FEATURE_ELF
+CPP_DEFINE_OPTIONS += -DFEATURE_ELF
+endif
+
 LD = ld
 
 ifeq ($(filter 2% 3%, $(shell $(CC) -dumpversion)),)
-- 
GitLab