mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
Windows compile fix (patch by sfox@php.net).
This commit is contained in:
@@ -38,10 +38,6 @@
|
||||
#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
|
||||
|
||||
@@ -174,7 +174,7 @@
|
||||
#define SIZEOF_LONG_LONG_INT 0
|
||||
#define SIZEOF_LONG_LONG 0
|
||||
#define SIZEOF_INTMAX_T 0
|
||||
#define ssize_t ptrdiff_t
|
||||
#define ssize_t SSIZE_T
|
||||
#ifdef _WIN64
|
||||
# define SIZEOF_SIZE_T 8
|
||||
# define SIZEOF_PTRDIFF_T 8
|
||||
|
||||
@@ -106,6 +106,3 @@
|
||||
/* Define as `__inline' if that's what the C compiler calls it, or to nothing
|
||||
if it is not supported. */
|
||||
/* #undef inline */
|
||||
|
||||
/* Define to `int' if <sys/types.h> does not define. */
|
||||
#define ssize_t int
|
||||
Reference in New Issue
Block a user