]> git.saurik.com Git - apple/xnu.git/blob - EXTERNAL_HEADERS/architecture/ppc/macro_help.h
xnu-517.3.7.tar.gz
[apple/xnu.git] / EXTERNAL_HEADERS / architecture / ppc / macro_help.h
1 /*
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
6 * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
7 *
8 * This file contains Original Code and/or Modifications of Original Code
9 * as defined in and that are subject to the Apple Public Source License
10 * Version 2.0 (the 'License'). You may not use this file except in
11 * compliance with the License. Please obtain a copy of the License at
12 * http://www.opensource.apple.com/apsl/ and read it before using this
13 * file.
14 *
15 * The Original Code and all software distributed under the License are
16 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
17 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
18 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
20 * Please see the License for the specific language governing rights and
21 * limitations under the License.
22 *
23 * @APPLE_LICENSE_HEADER_END@
24 */
25 /*
26 * Copyright (c) 1996 NeXT Software, Inc.
27 */
28 /*
29 * Mach Operating System
30 * Copyright (c) 1989 Carnegie-Mellon University
31 * Copyright (c) 1988 Carnegie-Mellon University
32 * All rights reserved. The CMU software License Agreement specifies
33 * the terms and conditions for use and redistribution.
34 *
35 * File: architecture/ppc/macro_help.h
36 *
37 * Provide help in making lint-free macro routines
38 *
39 * HISTORY
40 *
41 * 29-Dec-96 Umesh Vaishampayan (umeshv@NeXT.com)
42 * Created from m98k version.
43 */
44
45 #ifndef _ARCH_PPC_MACRO_HELP_H_
46 #define _ARCH_PPC_MACRO_HELP_H_
47
48 #ifndef MACRO_BEGIN
49 # define MACRO_BEGIN do {
50 #endif /* MACRO_BEGIN */
51
52 #ifndef MACRO_END
53 # define MACRO_END } while (0)
54 #endif /* MACRO_END */
55
56 #ifndef MACRO_RETURN
57 # define MACRO_RETURN if (1) return
58 #endif /* MACRO_RETURN */
59
60 #endif /* _ARCH_PPC_MACRO_HELP_H_ */
61