Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions Code/port.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,19 @@
(defmacro write-memory-barrier ()
'nil))

#+cl-amiga
(progn
(defun make-lock (&optional name)
(declare (ignore name))
nil)
(defmacro with-lock ((lock &key (wait? t)) &body body)
(declare (ignore lock wait?))
`(progn . ,body))
(defmacro read-memory-barrier ()
'nil)
(defmacro write-memory-barrier ()
'nil))


#+(and ecl (not threads))
(progn
Expand Down Expand Up @@ -396,6 +409,10 @@
(defun make-char (code bits)
(code-char (+ code (ash bits 8))))

#+cl-amiga
(defun make-char (code bits)
(code-char (+ code (ash bits 8))))

;;; I'm one of these weird people who detests `loop' (except in its CLtL1 form).
(defmacro while (pred &body body)
`(do () ((not ,pred))
Expand Down