Tcl Source Code

Artifact [e91e728c05]
Login

Artifact e91e728c0547a0945317e6db567516feff9c09f5:

Attachment "freewrap.patch" to ticket [3474726fff] added by nijtmans 2012-01-18 22:33:37.
*** build/generic/zvfs.c.orig	Wed Jan 18 16:04:25 2012
--- build/generic/zvfs.c	Wed Jan 18 16:05:18 2012
***************
*** 41,52 ****
  **                                              proper operation of glob command on ZVFS files
  **                                              under TCL 8.5.
  */
  #include "tcl.h"
  #include <ctype.h>
  #include <zlib.h>
  #include <errno.h>
  #include <string.h>
- #include <sys/stat.h>
  #include <time.h>
  #include <stdlib.h>
  #include <malloc.h>
--- 41,56 ----
  **                                              proper operation of glob command on ZVFS files
  **                                              under TCL 8.5.
  */
+ #define _USE_32BIT_TIME_T
+ #include <sys/stat.h>
+ #ifndef _stat32i64
+ #   define _stat32i64 _stati64
+ #endif
  #include "tcl.h"
  #include <ctype.h>
  #include <zlib.h>
  #include <errno.h>
  #include <string.h>
  #include <time.h>
  #include <stdlib.h>
  #include <malloc.h>