diff options
author | Jonghyun Park <parjong@gmail.com> | 2016-12-01 04:41:10 +0900 |
---|---|---|
committer | Jan Vorlicek <janvorli@microsoft.com> | 2016-11-30 20:41:10 +0100 |
commit | a8eebfdd91c9164c9b925f4ee62d9939ab5bf6f1 (patch) | |
tree | 066a9d436cf15e042fa2086d766e852b112d7f37 /src/pal | |
parent | 9883c466a5c73e3c3a9c6850e795071458abeb3b (diff) | |
download | coreclr-a8eebfdd91c9164c9b925f4ee62d9939ab5bf6f1.tar.gz coreclr-a8eebfdd91c9164c9b925f4ee62d9939ab5bf6f1.tar.bz2 coreclr-a8eebfdd91c9164c9b925f4ee62d9939ab5bf6f1.zip |
Emits compile error on portability issue only when PORTABILITY_CHECK is specified (#8340)
Diffstat (limited to 'src/pal')
-rw-r--r-- | src/pal/inc/rt/palrt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pal/inc/rt/palrt.h b/src/pal/inc/rt/palrt.h index f4fa78aabf..14d4ec409c 100644 --- a/src/pal/inc/rt/palrt.h +++ b/src/pal/inc/rt/palrt.h @@ -1177,7 +1177,7 @@ typedef VOID (__stdcall *WAITORTIMERCALLBACK)(PVOID, BOOLEAN); // The message in these two macros should not contain any keywords like TODO // or NYI. It should be just the brief description of the problem. -#if defined(_TARGET_X86_) +#ifdef PORTABILITY_CHECK // Finished ports - compile-time errors #define PORTABILITY_WARNING(message) NEED_TO_PORT_THIS_ONE(NEED_TO_PORT_THIS_ONE) #define PORTABILITY_ASSERT(message) NEED_TO_PORT_THIS_ONE(NEED_TO_PORT_THIS_ONE) |