r8753: fix compilation for acl-compat.excl
[postoffice.git] / imap.lisp
index 01597e84dd187be94842923b583f1c5f5e878a2e..b873bca2772c0b5266a2ec28fa9867eb792e0e29 100644 (file)
--- a/imap.lisp
+++ b/imap.lisp
@@ -19,7 +19,7 @@
 ;; Commercial Software developed at private expense as specified in
 ;; DOD FAR Supplement 52.227-7013 (c) (1) (ii), as applicable.
 ;;
-;; $Id: imap.lisp,v 1.1 2002/10/10 00:12:45 kevin Exp $
+;; $Id$
 
 ;; Description:
 ;;
        ;; a condition either has a server-string or it has a 
        ;; format-control string
        (format stream "Post Office condition: ~s~%" identifier)
+       #+allegro
        (if* (and (slot-boundp con 'excl::format-control)
                 (excl::simple-condition-format-control con))
          then (apply #'format stream
 (defun kwd-intern (string)
   ;; convert the string to the current preferred case
   ;; and then intern
-  (intern (case excl::*current-case-mode*
+  (intern (case
+             #-allegro acl-compat.excl::*current-case-mode*
+             #+allegro excl::*current-case-mode*
            ((:case-sensitive-lower
              :case-insensitive-lower) (string-downcase string))
            (t (string-upcase string)))
 (defun get-line-buffer (size)
   ;; get a buffer of at least size bytes
   (setq size (min size (1- array-total-size-limit)))
-  (:without-scheduling
+  (without-scheduling
     (dolist (buff *line-buffers* (make-string size))
        (if* (>= (length buff) size)
           then ; use this one