Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions build/php.m4
Original file line number Diff line number Diff line change
Expand Up @@ -2396,6 +2396,9 @@ AC_DEFUN([PHP_CHECK_STDINT_TYPES], [
AC_CHECK_SIZEOF([long long])
AC_CHECK_SIZEOF([size_t])
AC_CHECK_SIZEOF([off_t])

AS_IF([test $ac_cv_sizeof_long = 4],
AC_MSG_WARN([Size of long type is 4 bytes. 32 bit builds are deprecated and will no longer be supported in PHP-9]))
])

dnl
Expand Down