1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-27 04:12:51 +00:00

Rename NOFORN to MAIKO_ENABLE_FOREIGN_FUNCTION_INTERFACE. (#217)

This lets us get rid of double-negatives, which are confusing,
and starts a naming scheme that is easier to see when something
is a Maiko flag versus something else.
This commit is contained in:
Bruce Mitchener
2021-01-13 11:04:23 +07:00
committed by GitHub
parent 7b979dd789
commit 7145f0d380
4 changed files with 14 additions and 13 deletions

View File

@@ -10,7 +10,11 @@
#include "version.h"
#ifndef NOFORN
/* Foreign function call support relies upon DLD which
* weren't supported in modern OSes and the GNU DLD
* library hasn't been supported or maintained since
* at least 2006. */
#ifdef MAIKO_ENABLE_FOREIGN_FUNCTION_INTERFACE
#include <stdio.h>
#include <sys/param.h>
@@ -928,4 +932,4 @@ int get_c_basebyte(LispPTR *args) {
break;
}
}
#endif /* NOFORN */
#endif /* MAIKO_ENABLE_FOREIGN_FUNCTION_INTERFACE */