commit | 34a4f0b8c75e2c5a347e04454423cf55c5406075 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Oct 05 09:37:18 2016 -0700 |
committer | Elliott Hughes <enh@google.com> | Wed Oct 05 09:37:44 2016 -0700 |
tree | 9c4e7f6807ec36d74d010c2114ce916e9fe40323 | |
parent | 093951a2307f6572f911883c1ae6d01996e872c2 [diff] [blame] |
Test for _WIN32 in instead of USE_MINGW. Bug: http://b/23392815 Test: builds Change-Id: I7fce8de1f0e2314170cce456cd49346dcee9d134
diff --git a/include/backtrace/BacktraceMap.h b/include/backtrace/BacktraceMap.h index b80045f..df48dfe 100644 --- a/include/backtrace/BacktraceMap.h +++ b/include/backtrace/BacktraceMap.h
@@ -19,7 +19,7 @@ #include <stdint.h> #include <sys/types.h> -#ifdef USE_MINGW +#ifdef _WIN32 // MINGW does not define these constants. #define PROT_NONE 0 #define PROT_READ 0x1