openssl: sys/time.h is guarded inconsistently
I had a quick look and sys/time.h isn’t guarded consistently:
!defined(_WIN32)!defined(OPENSSL_SYS_VXWORKS) && !defined(OPENSSL_SYS_WIN32)defined(__unix) || defined(__unix__)!defined(OPENSSL_SYS_WINDOWS)defined(OPENSSL_SYS_UNIX)
There are additional cases where the build system is doing the guarding (haiku.h, sparcv9cap.c).
A bit of a mess.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 20 (20 by maintainers)
Commits related to this issue
- struct timeval include guards Move struct timeval includes into e_os.h (where the Windows ones were). Enaure that the include is guarded canonically. Refer #4271 — committed to paulidale/openssl by paulidale 7 years ago
- struct timeval include guards Move struct timeval includes into e_os.h (where the Windows ones were). Enaure that the include is guarded canonically. Refer #4271 Reviewed-by: Rich Salz <rsalz@opens... — committed to openssl/openssl by paulidale 7 years ago
PR in #4312