| 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 | // common.h |
| 6 | // |
| 7 | |
| 8 | // |
| 9 | // Precompiled headers. |
| 10 | // |
| 11 | //***************************************************************************** |
| 12 | #ifndef __COMMON_H__ |
| 13 | #define __COMMON_H__ |
| 14 | |
| 15 | #include <stdint.h> |
| 16 | #include <stddef.h> |
| 17 | #include <winwrap.h> |
| 18 | #include <windows.h> |
| 19 | #include <stdlib.h> |
| 20 | #include <objbase.h> |
| 21 | #include <float.h> |
| 22 | #include <limits.h> |
| 23 | |
| 24 | #if !defined(_TARGET_X86_) || defined(FEATURE_PAL) |
| 25 | #ifndef WIN64EXCEPTIONS |
| 26 | #define WIN64EXCEPTIONS |
| 27 | #endif |
| 28 | #endif // !_TARGET_X86_ || FEATURE_PAL |
| 29 | |
| 30 | #ifdef _TARGET_64BIT_ |
| 31 | typedef unsigned __int64 TARGET_POINTER_TYPE; |
| 32 | #else |
| 33 | typedef unsigned int TARGET_POINTER_TYPE; |
| 34 | #endif |
| 35 | |
| 36 | #include "utilcode.h" |
| 37 | #include "corjit.h" |
| 38 | #include "corcompile.h" |
| 39 | #include "iceefilegen.h" |
| 40 | #include "corpriv.h" |
| 41 | #include "gcinfotypes.h" |
| 42 | |
| 43 | #include "holder.h" |
| 44 | #include "strongname.h" |
| 45 | #include "ex.h" |
| 46 | #include "corbbtprof.h" |
| 47 | #include "clrnt.h" |
| 48 | #include "contract.h" |
| 49 | #include "psapi.h" |
| 50 | #include "log.h" |
| 51 | #include "ngen.h" |
| 52 | #include "pedecoder.h" |
| 53 | #include "guidfromname.h" |
| 54 | #include "../dlls/mscorrc/resource.h" |
| 55 | #include "zaplog.h" |
| 56 | #include "ndpversion.h" |
| 57 | |
| 58 | #include "loaderheap.h" |
| 59 | |
| 60 | #include "zapper.h" |
| 61 | #include "zapwriter.h" |
| 62 | #include "zapimage.h" |
| 63 | |
| 64 | #include "zapperstats.h" |
| 65 | |
| 66 | #endif // __COMMON_H__ |
| 67 |