Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(847)

Unified Diff: util/mach/mach_message.h

Issue 771183003: MachMessageWithDeadline(): 10.6 SDK fix (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698