[Zlib-devel] zlib 1.2.3.4 Winter Solstice Edition

Gilles Vollant info at winimage.com
Tue Dec 22 14:37:22 EST 2009


just for checking, I downloaded your patch, and against gzio.c and zutil.h,
it is :

diff -u ../../../zlib-1.2.3/gzio.c ./gzio.c
--- ../../../zlib-1.2.3/gzio.c  2005-07-11 22:31:48.000000000 +0200
+++ ./gzio.c    2008-07-22 00:23:46.000000000 +0200
@@ -971,7 +971,7 @@
     return destroy((gz_stream*)file);
 }

-#ifdef STDC
+#ifndef NO_ERRNO_H
 #  define zstrerror(errnum) strerror(errnum)
 #else
 #  define zstrerror(errnum) ""

diff -u ../../../zlib-1.2.3/zutil.h ./zutil.h
--- ../../../zlib-1.2.3/zutil.h 2005-07-11 22:35:48.000000000 +0200
+++ ./zutil.h   2008-07-22 00:29:38.000000000 +0200
@@ -17,9 +17,7 @@
 #include "zlib.h"

 #ifdef STDC
-#  ifndef _WIN32_WCE
-#    include <stddef.h>
-#  endif
+#  include <stddef.h>
 #  include <string.h>
 #  include <stdlib.h>
 #endif

-----Message d'origine-----
De : zlib-devel-bounces at madler.net [mailto:zlib-devel-bounces at madler.net] De
la part de Vincent Torri
Envoyé : mardi 22 décembre 2009 20:18
À : zlib-devel at madler.net
Cc : zlib-devel at zlib.net
Objet : Re: [Zlib-devel] zlib 1.2.3.4 Winter Solstice Edition



On Tue, 22 Dec 2009, Mark Adler wrote:

> On Dec 22, 2009, at 1:07 AM, Vincent Torri wrote:
>> Would it be possible to have Windows CE support with the ceGCC cross
compilation toolchain ?
>>
>> It would be mainly a new Makefile and two very small patches in zutil.h
and gzio.c
>
> Vincent,
>
> Sure -- please send the patches and Makefile.

I will not have time to check the code and create the patch. I'll be away 
during 10 days (i'm going to leave now...)

if you can't wait, i'll do a cegcc port like i did for the 1.2.3 version 
(see the cegcc website on sourceforge, in files, ported packages, if you 
want)

regards

Vincent Torri

_______________________________________________
Zlib-devel mailing list
Zlib-devel at madler.net
http://mail.madler.net/mailman/listinfo/zlib-devel_madler.net





More information about the Zlib-devel mailing list