| 1 | // Licensed to the .NET Foundation under one or more agreements. | 
| 2 | // The .NET Foundation licenses this file to you under the MIT license. | 
| 3 | // See the LICENSE file in the project root for more information. | 
| 4 | // =========================================================================== | 
| 5 | // File: pch.h | 
| 6 | // | 
| 7 |  | 
| 8 | // =========================================================================== | 
| 9 |  | 
| 10 | #ifndef _ILDBSYMLIB_PCH_H_ | 
| 11 | #define _ILDBSYMLIB_PCH_H_ | 
| 12 |  | 
| 13 | #include "ole2.h" | 
| 14 |  | 
| 15 | #include "winwrap.h" | 
| 16 | #include "umisc.h" | 
| 17 |  | 
| 18 | #include "corhdr.h" | 
| 19 | #include "corsym.h" | 
| 20 | #include "palclr.h" | 
| 21 | #include "cor.h" | 
| 22 | #include "genericstackprobe.h" | 
| 23 |  | 
| 24 | // I'm not sure why this code uses these macros for memory management (they should at least be | 
| 25 | // in-line functions).  DELETE is a symbol defined in WinNt.h as an access-type.  We're probably | 
| 26 | // not going to try and use that, so we'll just override it for now.  | 
| 27 | #ifdef DELETE | 
| 28 | #undef DELETE | 
| 29 | #endif | 
| 30 |  | 
| 31 |  | 
| 32 | #define NEW( x ) ( ::new (nothrow) x ) | 
| 33 | #define DELETE( x ) ( ::delete(x) ) | 
| 34 | #define DELETEARRAY( x ) (::delete[] (x)) | 
| 35 |  | 
| 36 | #include "ildbsymlib.h" | 
| 37 | #include "symwrite.h" | 
| 38 | #include "symread.h" | 
| 39 | #include "symbinder.h" | 
| 40 |  | 
| 41 | #endif | 
| 42 |  |