From: Kevin M. Rosenberg Date: Fri, 2 May 2003 02:36:22 +0000 (+0000) Subject: r4729: Automatic commit for debian_version_1_2_13-1 X-Git-Tag: v1.6.1~217 X-Git-Url: http://git.kpe.io/?a=commitdiff_plain;ds=sidebyside;h=0ef5ccff80c7143e654e755df8c45359d091ad47;p=uffi.git r4729: Automatic commit for debian_version_1_2_13-1 --- diff --git a/tests/compress.lisp b/tests/compress.lisp index 174b987..9e9674a 100644 --- a/tests/compress.lisp +++ b/tests/compress.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Feb 2002 ;;;; -;;;; $Id: compress.lisp,v 1.8 2003/05/02 02:30:07 kevin Exp $ +;;;; $Id: compress.lisp,v 1.9 2003/05/02 02:36:22 kevin Exp $ ;;;; ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -18,19 +18,18 @@ (in-package :uffi-tests) -(eval-when (:compile-tolevel :load-toplevel :execute) - (unless (uffi:load-foreign-library - #-(or macosx darwin) - (uffi:find-foreign-library - "libz" - '("/usr/local/lib/" "/usr/lib/" "/zlib/") - :types '("so" "a")) - #+(or macosx darwin) - (uffi:find-foreign-library "z" - `(,(pathname-directory *load-pathname*))) - :module "zlib" - :supporting-libraries '("c")) - (warn "Unable to load zlib"))) +(unless (uffi:load-foreign-library + #-(or macosx darwin) + (uffi:find-foreign-library + "libz" + '("/usr/local/lib/" "/usr/lib/" "/zlib/") + :types '("so" "a")) + #+(or macosx darwin) + (uffi:find-foreign-library "z" + `(,(pathname-directory *load-pathname*))) + :module "zlib" + :supporting-libraries '("c")) + (warn "Unable to load zlib")) (uffi:def-function ("compress" c-compress) ((dest (* :unsigned-char))