mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2025-12-06 02:40:26 -08:00
Add support for linux
This commit is contained in:
parent
983975dbd9
commit
6cec11ba51
1 changed files with 18 additions and 0 deletions
|
|
@ -167,6 +167,24 @@
|
|||
#endif
|
||||
#endif __FreeBSD__
|
||||
|
||||
#ifdef __linux__
|
||||
#define BRAND "IBM-PC"
|
||||
#define IEEEFLOAT
|
||||
#define DOWN_STACK
|
||||
#define BSD
|
||||
#define LDFLAGS -Wl,--export-dynamic
|
||||
#ifdef __ELF__
|
||||
# define DATA_START 0x8000000
|
||||
#else
|
||||
# define DATA_START 0
|
||||
#endif
|
||||
#define HAVE_ISOC99
|
||||
#define HAVE_POSIX
|
||||
#ifndef unix
|
||||
#define unix
|
||||
#endif
|
||||
#endif linux
|
||||
|
||||
#ifdef __NetBSD__
|
||||
#include <dlfcn.h>
|
||||
#define IEEEFLOAT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue