|
|
1.1 root 1: /***************************************************************************\
2: * Module Name: FIREWALL.H
3: *
4: * Firewall and debugging macros.
5: *
6: * Created: Sat 24-Sep-1988 22:45:53
7: * Author: Charles Whitmer [chuckwh]
8: *
9: * Copyright (c) 1988 Microsoft Corporation
10: \***************************************************************************/
11:
12: void DbgBreakPoint();
13: void DoRip(PSZ);
14:
15: // Turn on firewalls unless we are told not to.
16:
17: #ifndef NOFIREWALLS
18: #define FIREWALLS
19: #endif
20:
21: // Define the RIP and ASSERT macros.
22:
23: #ifdef FIREWALLS
24: #define RIP(x) DoRip((PSZ) x)
25: #define ASSERTPS(a,x) if (!(a)) RIP(x)
26: #else
27: #define RIP(x)
28: #define ASSERTPS(a,x)
29: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.