Skip to content

Remove obsolescent AC_C_INLINE Autoconf macro #13429

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 18, 2024

Conversation

petk
Copy link
Member

@petk petk commented Feb 18, 2024

This macro defines the inline keyword to be __inline__, __inline, or empty, based on the compiler inline support in main/php_config.h:

/* Define to '__inline__' or '__inline' if that's what the C compiler
   calls it, or to nothing if 'inline' is not supported under any name.  */
#ifndef __cplusplus
/* #undef inline */
#endif

Since PHP requires C99, which has the inline keyword definition and all current compilers support it, this check is redundant and not needed anymore.

This macro defines the inline keyword to be `__inline__`, `__inline`,
or empty, based on the compiler inline support. Since PHP requires C99,
which has the inline keyword definition and all current compilers
support it, this check is redundant and not needed anymore.
@petk petk force-pushed the patch-ac-c-inline branch from 74df99d to 0fbb27a Compare February 18, 2024 23:12
@Girgias Girgias merged commit 5105042 into php:master Feb 18, 2024
@petk petk deleted the patch-ac-c-inline branch February 19, 2024 00:07
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.

2 participants