Changeset 8398


Ignore:
Timestamp:
Feb 3, 2008, 4:12:11 AM (17 years ago)
Author:
Gary Byers
Message:

Use (%null-ptr) vice +null-ptr+; easier to cross-compile.

Location:
trunk/source/level-1
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/level-1/l1-streams.lisp

    r8286 r8398  
    52125212            (if timeout
    52135213              (multiple-value-bind (seconds millis) (milliseconds timeout)
    5214                 (#_gettimeofday now +null-ptr+)
     5214                (#_gettimeofday now (%null-ptr))
    52155215                (setq timeout (+ (* seconds 1000) millis))
    52165216                (+ (timeval->milliseconds now) timeout)))))
     
    52265226        ;; If there was no timeout, continue to wait forever.
    52275227        (when timeout
    5228           (#_gettimeofday now +null-ptr+)
     5228          (#_gettimeofday now (%null-ptr))
    52295229          (setq timeout (- wait-end (timeval->milliseconds now)))
    52305230          (if (<= timeout 0)
     
    52435243            (if timeout
    52445244              (multiple-value-bind (seconds millis) (milliseconds timeout)
    5245                 (#_gettimeofday now +null-ptr+)
     5245                (#_gettimeofday now (%null-ptr))
    52465246                (setq timeout (+ (* seconds 1000) millis))
    52475247                (+ (timeval->milliseconds now) timeout)))))
     
    52575257        ;; If there was no timeout, continue to wait forever.
    52585258        (when timeout
    5259           (#_gettimeofday now +null-ptr+)
     5259          (#_gettimeofday now (%null-ptr))
    52605260          (setq timeout (- wait-end (timeval->milliseconds now)))
    52615261          (if (<= timeout 0)
  • trunk/source/level-1/linux-files.lisp

    r8351 r8398  
    13231323                  (fd-close fd)
    13241324                  (error "Can't make a vector with ~s elements in this implementation." (+ ndata-elements nalignment-elements)))
    1325                 (let* ((addr (#_mmap +null-ptr+
     1325                (let* ((addr (#_mmap (%null-ptr)
    13261326                                     nbytes
    13271327                                     #$PROT_NONE
Note: See TracChangeset for help on using the changeset viewer.