Skip to content

Remove redundant <libintl.h> include#22477

Open
petk wants to merge 1 commit into
php:masterfrom
petk:patch-HAVE_LIBINTL
Open

Remove redundant <libintl.h> include#22477
petk wants to merge 1 commit into
php:masterfrom
petk:patch-HAVE_LIBINTL

Conversation

@petk

@petk petk commented Jun 26, 2026

Copy link
Copy Markdown
Member

The HAVE_LIBINTL macro is defined only when the ext/gettext is enabled during the build. Also, LC_MESSAGES have been moved to other places since this header was initially included.

Otherwise, I'm not sure if having this header there makes any difference but the include looks buggy (depending on the build of some other extension).

The HAVE_LIBINTL macro is defined only when the ext/gettext is enabled
during the build. Also, LC_MESSAGES have been moved to other places
since this header was initially included.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants