cvs: php4 /ext/gd/libgd gd_jpeg.c
| From: | Sebastian Bergmann | Date: | Tue, 08 Apr 2003 07:36:58 +0000 |
| Subject: | cvs: php4 /ext/gd/libgd gd_jpeg.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20162@lists.php.net to get a copy of this message | ||
sebastian Tue Apr 8 03:36:58 2003 EDT
Modified files:
/php4/ext/gd/libgd gd_jpeg.c
Log:
Fix Win32 build.
Index: php4/ext/gd/libgd/gd_jpeg.c
diff -u php4/ext/gd/libgd/gd_jpeg.c:1.11 php4/ext/gd/libgd/gd_jpeg.c:1.12
--- php4/ext/gd/libgd/gd_jpeg.c:1.11 Sat Apr 5 12:23:55 2003
+++ php4/ext/gd/libgd/gd_jpeg.c Tue Apr 8 03:36:58 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>