Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 64ca5ade authored by Christopher Ferris's avatar Christopher Ferris Committed by Android Git Automerger
Browse files

am 758c8636: am 6ecdff5b: am f7adcfc8: am 17b9c827: Merge "Add PROT_*...

am 758c8636: am 6ecdff5b: am f7adcfc8: am 17b9c827: Merge "Add PROT_* constants not found on windows."

* commit '758c8636':
  Add PROT_* constants not found on windows.
parents 6c625f67 758c8636
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -18,7 +18,15 @@
#define _BACKTRACE_BACKTRACE_MAP_H

#include <stdint.h>
#ifdef USE_MINGW
// MINGW does not define these constants.
#define PROT_NONE 0
#define PROT_READ 0x1
#define PROT_WRITE 0x2
#define PROT_EXEC 0x4
#else
#include <sys/mman.h>
#endif

#include <string>
#include <vector>