diff options
| author | Andrea Corallo | 2019-12-24 17:41:44 +0100 |
|---|---|---|
| committer | Andrea Corallo | 2020-01-01 11:38:16 +0100 |
| commit | ef59b67e4657fa80d1528b9d476c67f01abecc35 (patch) | |
| tree | 8827eea8a193014bbc7df20b9e7974ae99509bbc /src/comp.h | |
| parent | 2ccce1bc3954ce5f2faa0dcf7fa68ec5cae710ca (diff) | |
| download | emacs-ef59b67e4657fa80d1528b9d476c67f01abecc35.tar.gz emacs-ef59b67e4657fa80d1528b9d476c67f01abecc35.zip | |
mitigate ifdef proliferation
Diffstat (limited to 'src/comp.h')
| -rw-r--r-- | src/comp.h | 10 |
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. */ | ||
| 23 | enum { | ||
| 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> |