Skip to content

Commit

Permalink
Merge pull request #7 from LinkFly/master
Browse files Browse the repository at this point in the history
Support for LW/Windows
  • Loading branch information
archimag committed Jun 9, 2014
2 parents 62e583c + c6296cc commit 241c7b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bson/types.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@
:md5
(babel:string-to-octets (machine-instance) :encoding :utf-8)))
(pid #+clisp (system::process-id)
#+(and lispworks unix) (system::getpid)
#+(and lispworks (or unix windows)) (system::getpid)
#+(and sbcl unix) (sb-unix:unix-getpid)
#+(and cmu unix) (unix:unix-getpid)
#+openmcl (ccl::getpid)
#-(or clisp (and lispworks unix) (and sbcl unix) (and cmu unix) (and openmcl unix) openmcl)
#-(or clisp (and lispworks (or unix windows)) (and sbcl unix) (and cmu unix) (and openmcl unix) openmcl)
(error "Impossible to determine the PID"))
(inc (bordeaux-threads:with-recursive-lock-held (*object-id-inc-lock*)
(setf *object-id-inc*
Expand Down

0 comments on commit 241c7b9

Please sign in to comment.