mirror of
https://github.com/php/php-src.git
synced 2025-08-17 06:28:50 +02:00
cleanup
ssite_t is used in lot of places, without need for this. If really needed, should be in global location, not in an extension
This commit is contained in:
parent
22cdfc2504
commit
75cda24b82
2 changed files with 3 additions and 15 deletions
|
@ -188,21 +188,6 @@ in
|
||||||
esac
|
esac
|
||||||
AC_SUBST([MANFMT])
|
AC_SUBST([MANFMT])
|
||||||
|
|
||||||
AH_BOTTOM([
|
|
||||||
#ifndef HAVE_SSIZE_T
|
|
||||||
# if SIZEOF_SIZE_T == SIZEOF_INT
|
|
||||||
typedef int ssize_t;
|
|
||||||
# elif SIZEOF_SIZE_T == SIZEOF_LONG
|
|
||||||
typedef long ssize_t;
|
|
||||||
# elif SIZEOF_SIZE_T == SIZEOF_LONG_LONG
|
|
||||||
typedef long long ssize_t;
|
|
||||||
# else
|
|
||||||
#error no suitable type for ssize_t found
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
])
|
|
||||||
|
|
||||||
|
|
||||||
dnl so we always include the known-good working hack.
|
dnl so we always include the known-good working hack.
|
||||||
PHP_ADD_MAKEFILE_FRAGMENT
|
PHP_ADD_MAKEFILE_FRAGMENT
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -30,6 +30,9 @@
|
||||||
|
|
||||||
#include "ext/standard/url.h"
|
#include "ext/standard/url.h"
|
||||||
|
|
||||||
|
/* needed for ssize_t definition */
|
||||||
|
#include <sys/types.h>
|
||||||
|
|
||||||
struct php_zip_stream_data_t {
|
struct php_zip_stream_data_t {
|
||||||
struct zip *za;
|
struct zip *za;
|
||||||
struct zip_file *zf;
|
struct zip_file *zf;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue