Skip to content

Commit 49f9138

Browse files
committed
Deprecate 32bit builds
1 parent 5f67bac commit 49f9138

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build/php.m4

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2396,6 +2396,9 @@ AC_DEFUN([PHP_CHECK_STDINT_TYPES], [
23962396
AC_CHECK_SIZEOF([long long])
23972397
AC_CHECK_SIZEOF([size_t])
23982398
AC_CHECK_SIZEOF([off_t])
2399+
2400+
AS_IF([test $ac_cv_sizeof_long = 4],
2401+
AC_MSG_WARN([Size of long type is 4 bytes. 32 bit builds are deprecated and will no longer be supported in PHP-9]))
23992402
])
24002403

24012404
dnl

0 commit comments

Comments
 (0)