cvs: php4(PHP_4_3) /ext/gd/libgd gd_jpeg.c
| From: | Ilia Alshanetsky | Date: | Thu, 10 Apr 2003 02:11:20 +0000 |
| Subject: | cvs: php4(PHP_4_3) /ext/gd/libgd gd_jpeg.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20201@lists.php.net to get a copy of this message | ||
iliaa Wed Apr 9 22:11:20 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/ext/gd/libgd gd_jpeg.c
Log:
MFH (fix of Win32 build by Sebastian Bergmann)
Index: php4/ext/gd/libgd/gd_jpeg.c
diff -u php4/ext/gd/libgd/gd_jpeg.c:1.4.2.2 php4/ext/gd/libgd/gd_jpeg.c:1.4.2.3
--- php4/ext/gd/libgd/gd_jpeg.c:1.4.2.2 Sat Apr 5 12:24:16 2003
+++ php4/ext/gd/libgd/gd_jpeg.c Wed Apr 9 22:11:20 2003
@@ -21,6 +21,10 @@
* Christian Aberger
*/
+#if PHP_WIN32 && !defined(ssize_t)
+typedef int ssize_t;
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <setjmp.h>