|
|
1.1 ! root 1: /* ! 2: * Mach Operating System ! 3: * Copyright (c) 1989 Carnegie-Mellon University ! 4: * Copyright (c) 1988 Carnegie-Mellon University ! 5: * All rights reserved. The CMU software License Agreement specifies ! 6: * the terms and conditions for use and redistribution. ! 7: */ ! 8: /* ! 9: * HISTORY ! 10: * 09-23-91 mike Created from Mach version ! 11: * ! 12: */ ! 13: /* ! 14: * File: architecture/nrw/macro_help.h ! 15: * ! 16: * Provide help in making lint-free macro routines ! 17: * ! 18: */ ! 19: ! 20: #ifndef _NRW_MACRO_HELP_H_ ! 21: #define _NRW_MACRO_HELP_H_ ! 22: ! 23: #ifndef MACRO_BEGIN ! 24: # define MACRO_BEGIN do { ! 25: #endif MACRO_BEGIN ! 26: ! 27: #ifndef MACRO_END ! 28: # define MACRO_END } while (0) ! 29: #endif MACRO_END ! 30: ! 31: #ifndef MACRO_RETURN ! 32: # define MACRO_RETURN if (1) return ! 33: #endif MACRO_RETURN ! 34: ! 35: #endif _NRW_MACRO_HELP_H_ ! 36:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.