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