aboutsummaryrefslogtreecommitdiffstats
path: root/src/comp.h
diff options
context:
space:
mode:
authorAndrea Corallo2019-12-24 17:41:44 +0100
committerAndrea Corallo2020-01-01 11:38:16 +0100
commitef59b67e4657fa80d1528b9d476c67f01abecc35 (patch)
tree8827eea8a193014bbc7df20b9e7974ae99509bbc /src/comp.h
parent2ccce1bc3954ce5f2faa0dcf7fa68ec5cae710ca (diff)
downloademacs-ef59b67e4657fa80d1528b9d476c67f01abecc35.tar.gz
emacs-ef59b67e4657fa80d1528b9d476c67f01abecc35.zip
mitigate ifdef proliferation
Diffstat (limited to 'src/comp.h')
-rw-r--r--src/comp.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/comp.h b/src/comp.h
index 90b4f40426b..f756e38d292 100644
--- a/src/comp.h
+++ b/src/comp.h
@@ -19,6 +19,16 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
19#ifndef COMP_H 19#ifndef COMP_H
20#define COMP_H 20#define COMP_H
21 21
22/* To keep ifdefs under control. */
23enum {
24 NATIVE_COMP_FLAG =
25#ifdef HAVE_NATIVE_COMP
26 1
27#else
28 0
29#endif
30};
31
22#ifdef HAVE_NATIVE_COMP 32#ifdef HAVE_NATIVE_COMP
23 33
24#include <dynlib.h> 34#include <dynlib.h>