Index: compat/non_win/winnt.h |
diff --git a/compat/non_win/winnt.h b/compat/non_win/winnt.h |
index d61504c09c7d9e231df14facaf4c5a79f09dc74a..03167aa52b166190f04acd9bbc238d031ab18dad 100644 |
--- a/compat/non_win/winnt.h |
+++ b/compat/non_win/winnt.h |
@@ -179,4 +179,39 @@ struct IMAGE_DEBUG_MISC { |
#define VER_PLATFORM_WIN32_NT 2 |
//! \} |
+//! \anchor PAGE_x |
+//! \name PAGE_* |
+//! |
+//! \brief Memory protection constants for MINIDUMP_MEMORY_INFO::Protect and |
+//! MINIDUMP_MEMORY_INFO::AllocationProtect. |
+//! \{ |
+#define PAGE_NOACCESS 0x1 |
+#define PAGE_READONLY 0x2 |
+#define PAGE_READWRITE 0x4 |
+#define PAGE_WRITECOPY 0x8 |
+#define PAGE_EXECUTE 0x10 |
+#define PAGE_EXECUTE_READ 0x20 |
+#define PAGE_EXECUTE_READWRITE 0x40 |
+#define PAGE_EXECUTE_WRITECOPY 0x80 |
+#define PAGE_GUARD 0x100 |
+#define PAGE_NOCACHE 0x200 |
+#define PAGE_WRITECOMBINE 0x400 |
+//! \} |
+ |
+//! \anchor MEM_x |
+//! \name MEM_* |
+//! |
+//! \brief Memory state and type constants for MINIDUMP_MEMORY_INFO::State and |
+//! MINIDUMP_MEMORY_INFO::Type. |
+//! \{ |
+#define MEM_COMMIT 0x1000 |
+#define MEM_RESERVE 0x2000 |
+#define MEM_DECOMMIT 0x4000 |
+#define MEM_RELEASE 0x8000 |
+#define MEM_FREE 0x10000 |
+#define MEM_PRIVATE 0x20000 |
+#define MEM_MAPPED 0x40000 |
+#define MEM_RESET 0x80000 |
+//! \} |
+ |
#endif // CRASHPAD_COMPAT_NON_WIN_WINNT_H_ |