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

Most upvoted comments