Index: util/mach/mach_message.h |
diff --git a/util/mach/mach_message.h b/util/mach/mach_message.h |
index ffea4465b8538e5a2792e09d148648ac4b36280a..d5eccbcf1832f4c6f60d927283b746b1fe82b9ac 100644 |
--- a/util/mach/mach_message.h |
+++ b/util/mach/mach_message.h |
@@ -18,8 +18,6 @@ |
#include <mach/mach.h> |
#include <stdint.h> |
-#include <limits> |
- |
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<MachMessageDeadline>::max(), |
+ kMachMessageWaitIndefinitely = 0xffffffffffffffff, |
}; |
//! \brief Computes the deadline for a specified timeout value. |