diff options
author | Jan Kotas <jkotas@microsoft.com> | 2015-02-13 14:14:10 -0800 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2015-02-13 14:14:10 -0800 |
commit | cdbd0286f8663db4942f3c945e935facc0d53f46 (patch) | |
tree | 90beb3e2cc8266b6b392c0edc7f9d31ed367c312 /src/inc/corcompile.h | |
parent | 4db682246f6950ffe0cb4fe306690e404c405326 (diff) | |
download | coreclr-cdbd0286f8663db4942f3c945e935facc0d53f46.tar.gz coreclr-cdbd0286f8663db4942f3c945e935facc0d53f46.tar.bz2 coreclr-cdbd0286f8663db4942f3c945e935facc0d53f46.zip |
Simplify platform ifdefs
Simplify platform ifdefs like #if defined(_WIN64) || defined(_TARGET_ARM_) to #if !defined(_TARGET_X86_) based on @BruceForstall suggestion
Diffstat (limited to 'src/inc/corcompile.h')
-rw-r--r-- | src/inc/corcompile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inc/corcompile.h b/src/inc/corcompile.h index 2e59a58823..693cf31edf 100644 --- a/src/inc/corcompile.h +++ b/src/inc/corcompile.h @@ -23,11 +23,11 @@ #error FEATURE_PREJIT is required for this file #endif // FEATURE_PREJIT -#if defined(_WIN64) || defined(_TARGET_ARM_) +#if !defined(_TARGET_X86_) #ifndef WIN64EXCEPTIONS #define WIN64EXCEPTIONS #endif -#endif // _WIN64 || _TARGET_ARM_ +#endif // !_TARGET_X86_ #include <cor.h> #include <corhdr.h> |