Skip to content

Sync #if/ifdef/defined #14371

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
Jun 7, 2024
Merged

Conversation

petk
Copy link
Member

@petk petk commented May 30, 2024

These are either undefined or defined to value 1 in Autotools and Windows:

  • HAVE_COMMONCRYPTO_COMMONRANDOM_H
  • HAVE_EXIF
  • HAVE_FOPENCOOKIE
  • HAVE_IF_NAMETOINDEX
  • HAVE_LIBICONV
  • HAVE_SOCKETS
  • HAVE_STRUCT_STAT_ST_RDEV
  • HAVE_STRUCT_TM_TM_GMTOFF
  • HAVE_STRUCT_TM_TM_ZONE

Follow up of GH-5526 (-Wundef)

These are either undefined or defined to value 1 in Autotools and
Windows:
- HAVE_COMMONCRYPTO_COMMONRANDOM_H
- HAVE_EXIF
- HAVE_FOPENCOOKIE
- HAVE_IF_NAMETOINDEX
- HAVE_LIBICONV
- HAVE_SOCKETS
- HAVE_STRUCT_STAT_ST_RDEV
- HAVE_STRUCT_TM_TM_GMTOFF
- HAVE_STRUCT_TM_TM_ZONE

Follow up of phpGH-5526 (-Wundef)
Copy link
Member

@TimWolla TimWolla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ack for ext/random

Copy link
Member

@devnexen devnexen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sockets/iconv lgtm

Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LCTM

@petk
Copy link
Member Author

petk commented Jun 4, 2024

I think all is good here. I'll merge this one in the following days. cc @derickr

@petk petk merged commit da86eec into php:master Jun 7, 2024
10 of 11 checks passed
@petk petk deleted the patch-HAVE_COMMONCRYPTO_COMMONRANDOM_H branch June 7, 2024 21:45
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.

6 participants