Skip to content

Windows build: Use GREP_HEADER() instead of CHECK_FUNC_IN_HEADER()#21315

Draft
petk wants to merge 1 commit intophp:masterfrom
petk:patch-windows-CHECK_FUNC_IN_HEADER
Draft

Windows build: Use GREP_HEADER() instead of CHECK_FUNC_IN_HEADER()#21315
petk wants to merge 1 commit intophp:masterfrom
petk:patch-windows-CHECK_FUNC_IN_HEADER

Conversation

@petk
Copy link
Member

@petk petk commented Feb 27, 2026

Following #21191 this removes the following unused compile definitions:

  • HAVE_OSSL_SET_MAX_THREADS
  • HAVE_ARGON2ID_HASH_RAW

The CHECK_FUNC_IN_HEADER() function defines the 'HAVE_' compile definitions to 0 or 1, but these aren't used in the code. Defining such preprocessor macros makes it difficult to track and sync with other build systems.

This removes the following unused compile definitions:

- HAVE_OSSL_SET_MAX_THREADS
- HAVE_ARGON2ID_HASH_RAW

The CHECK_FUNC_IN_HEADER() function defines the 'HAVE_<FUNCTION>'
compile definitions to 0 or 1, but these aren't used in the code.
Defining such preprocessor macros makes it difficult to track and sync
with other build systems.
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