Reimport architecture/byte_order.h from canonical repo

Bug: b/257505171
Change-Id: I210b6689683ff2cf561997584924fd9b568943cb
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/4494631
Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
Leonard Grey 2023-05-01 17:13:08 -04:00
parent de040fa25d
commit 99cd657eec
2 changed files with 17 additions and 16 deletions

View File

@ -3,7 +3,6 @@ processes Mach-O files on Linux.
From xnu-8792.41.9 (https://github.com/apple-oss-distributions/xnu at 5c2921b) From xnu-8792.41.9 (https://github.com/apple-oss-distributions/xnu at 5c2921b)
i386/_types.h i386/_types.h
architecture/byte_order.h
arm/_types.h arm/_types.h
mach/boolean.h mach/boolean.h
mach/machine.h mach/machine.h
@ -21,3 +20,6 @@ mach-o/arch.h
mach-o/fat.h mach-o/fat.h
mach-o/loader.h mach-o/loader.h
mach-o/nlist.h mach-o/nlist.h
From architecture-282 (https://github.com/apple-oss-distributions/architecture at fe86900)
architecture/byte_order.h

View File

@ -1,24 +1,23 @@
/* /*
* Copyright (c) 1999-2002 Apple Computer, Inc. All rights reserved. * Copyright (c) 1999-2008 Apple Computer, Inc. All rights reserved.
* *
* @APPLE_LICENSE_HEADER_START@ * @APPLE_LICENSE_HEADER_START@
* *
* "Portions Copyright (c) 1999 Apple Computer, Inc. All Rights * This file contains Original Code and/or Modifications of Original Code
* Reserved. This file contains Original Code and/or Modifications of * as defined in and that are subject to the Apple Public Source License
* Original Code as defined in and that are subject to the Apple Public * Version 2.0 (the 'License'). You may not use this file except in
* Source License Version 1.0 (the 'License'). You may not use this file * compliance with the License. Please obtain a copy of the License at
* except in compliance with the License. Please obtain a copy of the * http://www.opensource.apple.com/apsl/ and read it before using this
* License at http://www.apple.com/publicsource and read it before using * file.
* this file. *
*
* The Original Code and all software distributed under the License are * The Original Code and all software distributed under the License are
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
* EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
* INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
* License for the specific language governing rights and limitations * Please see the License for the specific language governing rights and
* under the License." * limitations under the License.
* *
* @APPLE_LICENSE_HEADER_END@ * @APPLE_LICENSE_HEADER_END@
*/ */
/* /*
@ -30,7 +29,7 @@
#ifndef _ARCHITECTURE_BYTE_ORDER_H_ #ifndef _ARCHITECTURE_BYTE_ORDER_H_
#define _ARCHITECTURE_BYTE_ORDER_H_ #define _ARCHITECTURE_BYTE_ORDER_H_
enum NXByteOrder { enum NXByteOrder {
NX_UnknownByteOrder, NX_UnknownByteOrder,
NX_LittleEndian, NX_LittleEndian,