Skip to content
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

HAVE vs. HAS in cmake and ifdef #428

Closed
jaykrell opened this issue Jun 30, 2019 · 1 comment
Closed

HAVE vs. HAS in cmake and ifdef #428

jaykrell opened this issue Jun 30, 2019 · 1 comment

Comments

@jaykrell
Copy link

There is confusion between "HAVE" and "HAS".
Is cmake considered official and supported?

Searching for '_STDINT_H'...
c:\s\zlib\CMakeLists.txt(24):check_include_file(stdint.h HAVE_STDINT_H)
c:\s\zlib\CMakeLists.txt(37):if(HAVE_STDINT_H)
c:\s\zlib\CMakeLists.txt(38): list(APPEND CMAKE_REQUIRED_DEFINITIONS -DHAVE_STDINT_H)
c:\s\zlib\contrib\minizip\ioapi.h(89):#ifdef HAS_STDINT_H
4 occurrence(s) have been found.

and cmake's HAVE_STDDEF_H and HAVE_SYS_TYPES_H appear unused

@madler
Copy link
Owner

madler commented Feb 2, 2025

See #1027 .

@madler madler closed this as completed Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants