about summary refs log tree commit diff
path: root/dev/fallback.lisp
blob: 40a5219824e55bfa0b74ba697831c1fc75afeb8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
(in-package #:trivial-backtrace)

(eval-when (:compile-toplevel :load-toplevel :execute)
  (unless (fboundp 'map-backtrace)
    (defun map-backtrace (func)
      (declare (ignore func))))

  (unless (fboundp 'print-backtrace-to-stream)
    (defun print-backtrace-to-stream (stream)
      (format stream "~&backtrace output unavailable.~%"))))