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

Unified Diff: compat/mac/mach-o/loader.h

Issue 432843002: Add compat to Crashpad (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 6 years, 5 months 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
Index: compat/mac/mach-o/loader.h
diff --git a/package.h b/compat/mac/mach-o/loader.h
similarity index 52%
copy from package.h
copy to compat/mac/mach-o/loader.h
index 13603852edbb4f44ae5128c816cf75787b44bfaf..95a735747f634eecb3377931266a625eab207e0a 100644
--- a/package.h
+++ b/compat/mac/mach-o/loader.h
@@ -12,18 +12,21 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef CRASHPAD_PACKAGE_H_
-#define CRASHPAD_PACKAGE_H_
+#ifndef CRASHPAD_COMPAT_MAC_MACH_O_LOADER_H_
+#define CRASHPAD_COMPAT_MAC_MACH_O_LOADER_H_
-#define PACKAGE_BUGREPORT "https://code.google.com/p/crashpad/issues/entry"
-#define PACKAGE_COPYRIGHT \
- "Copyright " PACKAGE_COPYRIGHT_YEAR " " PACKAGE_COPYRIGHT_OWNER
-#define PACKAGE_COPYRIGHT_OWNER "The Crashpad Authors"
-#define PACKAGE_COPYRIGHT_YEAR "2014"
-#define PACKAGE_NAME "Crashpad"
-#define PACKAGE_STRING PACKAGE_NAME " " PACKAGE_VERSION
-#define PACKAGE_TARNAME "crashpad"
-#define PACKAGE_VERSION "0.6.0"
-#define PACKAGE_URL "https://crashpad.googlecode.com/"
+#include_next <mach-o/loader.h>
-#endif // CRASHPAD_PACKAGE_H_
+// 10.7 SDK
+
+#ifndef S_THREAD_LOCAL_ZEROFILL
+#define S_THREAD_LOCAL_ZEROFILL 0x12
+#endif
+
+// 10.8 SDK
+
+#ifndef LC_SOURCE_VERSION
+#define LC_SOURCE_VERSION 0x2a
+#endif
+
+#endif // CRASHPAD_COMPAT_MAC_MACH_O_LOADER_H_

Powered by Google App Engine
This is Rietveld 408576698