aboutsummaryrefslogtreecommitdiff
path: root/src/third_party/mac_headers/mach/boolean.h
diff options
context:
space:
mode:
authorLeonard Grey <lgrey@chromium.org>2023-04-26 21:08:39 +0000
committerLeonard Grey <lgrey@chromium.org>2023-04-27 14:56:41 +0000
commit652e7dac80f7a97c69818b928830850bfd1cf0f8 (patch)
tree0985fb79c0c02c3f778e71552a25abc55a0d3c67 /src/third_party/mac_headers/mach/boolean.h
parent7b981b213550b08530ff17386c1c29c9771be40b (diff)
downloadgoogle-breakpad-652e7dac80f7a97c69818b928830850bfd1cf0f8.tar.gz
Update Mac Headers
These are reimported from Apple's Github source drops, see exact provenance in README. Most were imported as is, some were edited to match previous versions, and as noted below - Added arm headers where needed - Removed (now) unused `/mach/i386/vm_param.h` - Removed availability annotations - Removed `__kernel_ptr_semantics` - Added `defined(__aarch64__)` to all arm64 define guards Bug: chromium:1420654, google-breakpad:880, b/257505171 Change-Id: I17bd03fa871a8f1dc4285daafa3d7b26c2186e2b Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/4482294 Reviewed-by: Mark Mentovai <mark@chromium.org>
Diffstat (limited to 'src/third_party/mac_headers/mach/boolean.h')
-rw-r--r--src/third_party/mac_headers/mach/boolean.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/third_party/mac_headers/mach/boolean.h b/src/third_party/mac_headers/mach/boolean.h
index 641c3962..ba884293 100644
--- a/src/third_party/mac_headers/mach/boolean.h
+++ b/src/third_party/mac_headers/mach/boolean.h
@@ -2,7 +2,7 @@
* Copyright (c) 2000 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,34 +22,34 @@
* 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@
*/
/*
* @OSF_COPYRIGHT@
*/
-/*
+/*
* Mach Operating System
* Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University
* All Rights Reserved.
- *
+ *
* Permission to use, copy, modify and distribute this software and its
* documentation is hereby granted, provided that both the copyright
* notice and this permission notice appear in all copies of the
* software, derivative works or modified versions, and any portions
* thereof, and that both notices appear in supporting documentation.
- *
+ *
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
* ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
- *
+ *
* Carnegie Mellon requests users of this software to return to
- *
+ *
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
* School of Computer Science
* Carnegie Mellon University
* Pittsburgh PA 15213-3890
- *
+ *
* any improvements or extensions that they make and grant Carnegie Mellon
* the rights to redistribute these changes.
*/
@@ -62,27 +62,27 @@
*
*/
-#ifndef _MACH_BOOLEAN_H_
-#define _MACH_BOOLEAN_H_
+#ifndef _MACH_BOOLEAN_H_
+#define _MACH_BOOLEAN_H_
/*
* Pick up "boolean_t" type definition
*/
-#ifndef ASSEMBLER
+#ifndef ASSEMBLER
#include <mach/machine/boolean.h>
-#endif /* ASSEMBLER */
+#endif /* ASSEMBLER */
/*
* Define TRUE and FALSE if not defined.
*/
-#ifndef TRUE
-#define TRUE 1
-#endif /* TRUE */
+#ifndef TRUE
+#define TRUE 1
+#endif /* TRUE */
-#ifndef FALSE
-#define FALSE 0
-#endif /* FALSE */
+#ifndef FALSE
+#define FALSE 0
+#endif /* FALSE */
-#endif /* _MACH_BOOLEAN_H_ */
+#endif /* _MACH_BOOLEAN_H_ */ \ No newline at end of file