diff --git a/util/mach/mach_message.h b/util/mach/mach_message.h index ffea4465..d5eccbcf 100644 --- a/util/mach/mach_message.h +++ b/util/mach/mach_message.h @@ -18,8 +18,6 @@ #include #include -#include - namespace crashpad { //! \brief The time before which a MachMessageWithDeadline() call should @@ -40,8 +38,7 @@ enum : MachMessageDeadline { //! \brief MachMessageWithDeadline() should wait indefinitely for the //! requested operation to complete. - kMachMessageWaitIndefinitely = - std::numeric_limits::max(), + kMachMessageWaitIndefinitely = 0xffffffffffffffff, }; //! \brief Computes the deadline for a specified timeout value.