cl-md5 (1.8.1-1) unstable; urgency=low
* Improve .asd file
+ * Add eval-when's for AllegroCL compatibility
-- Kevin M. Rosenberg <kmr@debian.org> Mon, 5 May 2003 22:56:32 -0600
;;;; cmucl-help mailing-list hosted at cons.org, in November 2001 and
;;;; has been placed into the public domain.
;;;;
-;;;; $Id: md5.lisp,v 1.4 2003/05/06 04:57:43 kevin Exp $
+;;;; $Id: md5.lisp,v 1.5 2003/05/06 04:59:21 kevin Exp $
;;;;
;;;; While the implementation should work on all conforming Common
;;;; Lisp implementations, it has only been optimized for CMU CL,
(update-md5-state state sequence :start start :end real-end))
(finalize-md5-state state)))
-(defconstant +buffer-size+ (* 128 1024)
- "Size of internal buffer to use for md5sum-stream and md5sum-file
-operations. This should be a multiple of 64, the MD5 block size.")
+(eval-when (:compile-toplevel :load-toplevel :execute)
+ (defconstant +buffer-size+ (* 128 1024)
+ "Size of internal buffer to use for md5sum-stream and md5sum-file
+operations. This should be a multiple of 64, the MD5 block size."))
(deftype buffer-index () `(integer 0 ,+buffer-size+))