cvs: php-src /ext/gd/libgd gd_jpeg.c

From: Date: Sun, 26 Oct 2003 00:42:42 +0000
Subject: cvs: php-src /ext/gd/libgd gd_jpeg.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-24261@lists.php.net to get a copy of this message
sebastian Sat Oct 25 20:42:42 2003 EDT Modified files: /php-src/ext/gd/libgd gd_jpeg.c Log: Patch by Steph to sanitize ssize_t typedef on Windows. Index: php-src/ext/gd/libgd/gd_jpeg.c diff -u php-src/ext/gd/libgd/gd_jpeg.c:1.13 php-src/ext/gd/libgd/gd_jpeg.c:1.14 --- php-src/ext/gd/libgd/gd_jpeg.c:1.13 Tue Jun 3 19:23:21 2003 +++ php-src/ext/gd/libgd/gd_jpeg.c Sat Oct 25 20:42:42 2003 @@ -21,10 +21,6 @@ * Christian Aberger */ -#if PHP_WIN32 && !defined(ssize_t) -typedef int ssize_t; -#endif - #include <stdio.h> #include <stdlib.h> #include <setjmp.h> @@ -41,6 +37,10 @@ /* 1.8.1: remove dependency on jinclude.h */ #include "jpeglib.h" #include "jerror.h" + +#if PHP_WIN32 +typedef SSIZE_T ssize_t; +#endif static const char *const GD_JPEG_VERSION = "1.0";

« previous php.cvs (#24261) next »