diff options
author | dos-reis <gdr@axiomatics.org> | 2009-02-28 01:11:56 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2009-02-28 01:11:56 +0000 |
commit | 78fa2724e63b1a8784aa058e12b45922091bdd70 (patch) | |
tree | cbf6fa54b1a10c5d44585a3c38a25a54ab3b8358 /src/lisp | |
parent | a6352a4428911afca91d6e672dc540146c99d415 (diff) | |
download | open-axiom-78fa2724e63b1a8784aa058e12b45922091bdd70.tar.gz |
* lisp/core.lisp.in ($ECLVersionNumber): New.
* boot/ast.boot (genECLnativeTranslation): Use it.
Diffstat (limited to 'src/lisp')
-rw-r--r-- | src/lisp/core.lisp.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lisp/core.lisp.in b/src/lisp/core.lisp.in index 53643489..9d65d262 100644 --- a/src/lisp/core.lisp.in +++ b/src/lisp/core.lisp.in @@ -82,6 +82,7 @@ "$NativeTypeTable" "$LispOptimizeOptions" "$StandardLinking" + "$ECLVersionNumber" "getOptionValue" "getCommandLineArguments" @@ -225,6 +226,16 @@ (setf custom:*foreign-encoding* (ext:make-encoding :charset charset:iso-8859-1)))) + +;; ECL is a moving target, especially, in its FII support. Track +;; versions as poor man safeguard to portability chaos. +(defconstant |$ECLVersionNumber| + #-:ecl -1 + #+:ecl (cond ((find-symbol "+ECL-VERSION-NUMBER+" "EXT") + ext:+ecl-version-number+) + (t -1))) + + ;; ;; -*- OpenAxiom filesystem -*- ;; |