r10268: add compatibility for sbcl-amd64
authorKevin M. Rosenberg <kevin@rosenberg.net>
Fri, 21 Jan 2005 17:23:28 +0000 (17:23 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Fri, 21 Jan 2005 17:23:28 +0000 (17:23 +0000)
db-postgresql-socket/postgresql-socket-api.lisp
db-postgresql/postgresql-loader.lisp

index dbf41d1f232be7a0b84537b83f64c9c9510d3733..4546d095ad23f0a95b2cc197ba13a5c05c96a2f4 100644 (file)
@@ -220,7 +220,7 @@ socket interface"
   (unless *crypt-library-loaded*
     (uffi:load-foreign-library 
      (uffi:find-foreign-library "libcrypt"
-                          '(#+64bit "/usr/lib64/"
+                          '(#+(or 64bit x86-64) "/usr/lib64/"
                             "/usr/lib/" "/usr/local/lib/" "/lib/"))
      :supporting-libraries '("c"))
     (setq *crypt-library-loaded* t)))
index e33f1354db5d2aaf055f74bf99bbbce97ac07721..39f80a2c341f4d8796c5824f419e1b25b63353c1 100644 (file)
@@ -36,7 +36,7 @@ set to the right path before compiling or loading the system.")
   (let ((libpath (uffi:find-foreign-library 
                  "libpq"
                  '("/opt/postgresql/lib/" "/usr/local/lib/" 
-                   #+64bit "/usr/lib64/"
+                   #+(or 64bit x86-64) "/usr/lib64/"
                    "/usr/lib/" "/postgresql/lib/"
                    "/usr/local/pgsql/lib/" "/usr/lib/pgsql/"
                    "/opt/pgsql/lib/pgsql" "/sw/lib/pgsql/")