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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user