Changeset 8456 in project


Ignore:
Timestamp:
02/13/08 18:43:59 (12 years ago)
Author:
Kon Lovett
Message:

Cygwin has endian.h, timegm, localtime.

Location:
chicken/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chicken/trunk/buildsvnrevision

    r8410 r8456  
    1 8408
     18454
  • chicken/trunk/chicken.h

    r8361 r8456  
    200200#if defined(__MINGW32__)
    201201# include <sys/param.h>
     202#elif defined(__CYGWIN__)
     203# include <endian.h>
    202204#elif defined(__linux__)
    203205# include <endian.h>
  • chicken/trunk/posixunix.scm

    r8408 r8456  
    310310#define C_ctime(n)          (C_secs = (n), ctime(&C_secs))
    311311
    312 #if defined(__CYGWIN__) || defined(__SVR4)
     312#if defined(__SVR4)
    313313/* Seen here: http://lists.samba.org/archive/samba-technical/2002-November/025571.html */
    314314
     
    18621862(define local-timezone-abbreviation
    18631863  (foreign-lambda* c-string ()
    1864    "\n#if !defined(__CYGWIN__) && !defined(__SVR4) && !defined(__uClinux__) && !defined(__hpux__)\n"
     1864   "\n#if !defined(__SVR4) && !defined(__uClinux__) && !defined(__hpux__)\n"
    18651865   "time_t clock = (time_t)0;"
    18661866   "struct tm *ltm = C_localtime(&clock);"
Note: See TracChangeset for help on using the changeset viewer.