Changeset 36419 in project


Ignore:
Timestamp:
08/25/18 16:19:18 (4 weeks ago)
Author:
mario
Message:

release/4/json: CHICKEN 5 support

Location:
release/4/json/trunk
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • release/4/json/trunk/json.scm

    r19963 r36419  
    3232
    3333(import scheme)
    34 (import chicken)
    35 (use ports)
    36 (require-library srfi-1) (import (except srfi-1 any))
    37 (use srfi-69)
    38 (use packrat)
     34(cond-expand
     35  (chicken-4
     36   (import chicken)
     37   (use ports)
     38   (require-library srfi-1) (import (except srfi-1 any))
     39   (use srfi-69)
     40   (use packrat))
     41  (chicken-5
     42   (import (chicken base)
     43           (chicken port))
     44   (import packrat (except srfi-1 any) srfi-69))
     45  (else
     46   (error "Unsupported CHICKEN version.")))
    3947
    4048  (define (hashtable->vector ht)
Note: See TracChangeset for help on using the changeset viewer.