1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Patch by Steph to sanitize ssize_t typedef on Windows.

This commit is contained in:
Sebastian Bergmann
2003-10-26 00:42:42 +00:00
parent 0d95b23a51
commit b2f860ce6d

View File

@@ -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>
@@ -42,6 +38,10 @@ typedef int ssize_t;
#include "jpeglib.h"
#include "jerror.h"
#if PHP_WIN32
typedef SSIZE_T ssize_t;
#endif
static const char *const GD_JPEG_VERSION = "1.0";
typedef struct _jmpbuf_wrapper