aboutsummaryrefslogtreecommitdiff
path: root/src/third_party/mac_headers/i386/_types.h
diff options
context:
space:
mode:
authorSadaf Ebrahimi <sadafebrahimi@google.com>2023-08-21 16:23:57 +0000
committerSadaf Ebrahimi <sadafebrahimi@google.com>2023-08-21 20:27:12 +0000
commit8bac8761455afbb1953cd20d19bee98b3f72e696 (patch)
tree8bac0eef29fb27b0f8ba28f8aaa4dc8400b43107 /src/third_party/mac_headers/i386/_types.h
parent332a4371eda197cfcbcd01bf197482aecde23a1a (diff)
parent922d49bdfe3c92e5d35c406f87f2c354637a2f8b (diff)
downloadgoogle-breakpad-8bac8761455afbb1953cd20d19bee98b3f72e696.tar.gz
Upgrade google-breakpad to 922d49bdfe3c92e5d35c406f87f2c354637a2f8b
This project was upgraded with external_updater. Usage: tools/external_updater/updater.sh update google-breakpad For more info, check https://cs.android.com/android/platform/superproject/+/main:tools/external_updater/README.md Test: TreeHugger Change-Id: I12c929f9fd858788c537c10308112d8b61a1f553
Diffstat (limited to 'src/third_party/mac_headers/i386/_types.h')
-rw-r--r--src/third_party/mac_headers/i386/_types.h22
1 files changed, 13 insertions, 9 deletions
diff --git a/src/third_party/mac_headers/i386/_types.h b/src/third_party/mac_headers/i386/_types.h
index 2ed7fd67..c0478d3f 100644
--- a/src/third_party/mac_headers/i386/_types.h
+++ b/src/third_party/mac_headers/i386/_types.h
@@ -2,7 +2,7 @@
* Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
- *
+ *
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file except in
@@ -11,10 +11,10 @@
* unlawful or unlicensed copies of an Apple operating system, or to
* circumvent, violate, or enable the circumvention or violation of, any
* terms of an Apple operating system software license agreement.
- *
+ *
* Please obtain a copy of the License at
* http://www.opensource.apple.com/apsl/ and read it before using this file.
- *
+ *
* The Original Code and all software distributed under the License are
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
* EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
@@ -22,13 +22,17 @@
* FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
* Please see the License for the specific language governing rights and
* limitations under the License.
- *
+ *
* @APPLE_OSREFERENCE_LICENSE_HEADER_END@
*/
-#ifndef _BSD_I386__TYPES_H_
-#define _BSD_I386__TYPES_H_
+#ifndef _BSD_I386__TYPES_H_
+#define _BSD_I386__TYPES_H_
+
+#if defined (__i386__) || defined (__x86_64__)
+
+typedef long __darwin_intptr_t;
+typedef unsigned int __darwin_natural_t;
-typedef long __darwin_intptr_t;
-typedef unsigned int __darwin_natural_t;
+#endif /* defined (__i386__) || defined (__x86_64__) */
-#endif /* _BSD_I386__TYPES_H_ */
+#endif /* _BSD_I386__TYPES_H_ */ \ No newline at end of file