diff options
author | Peter Jas <necmon@yahoo.com> | 2015-10-06 18:13:59 +0000 |
---|---|---|
committer | Peter Jas <necmon@yahoo.com> | 2015-10-06 20:09:34 +0000 |
commit | 6c152931f469c1336f5841d6d7f29fb20cd71308 (patch) | |
tree | c9c3d97a1083b0975a71d265525d42ca4dfe94ce /src/pal/inc/pal_mstypes.h | |
parent | ef9e505c66a82dc6928b8ddf9332a88e675d532d (diff) | |
download | coreclr-6c152931f469c1336f5841d6d7f29fb20cd71308.tar.gz coreclr-6c152931f469c1336f5841d6d7f29fb20cd71308.tar.bz2 coreclr-6c152931f469c1336f5841d6d7f29fb20cd71308.zip |
code: Fix redefined macro warning.
For example, in this log:
https://dotnet-ci.cloudapp.net/job/dotnet_coreclr_freebsd_debug_prtest/1082/consoleFull
search for '-Wmacro-redefined'. All 26 occurences are pointing to this line.
Diffstat (limited to 'src/pal/inc/pal_mstypes.h')
-rw-r--r-- | src/pal/inc/pal_mstypes.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/pal/inc/pal_mstypes.h b/src/pal/inc/pal_mstypes.h index 3167625aa6..3c6d7f2904 100644 --- a/src/pal/inc/pal_mstypes.h +++ b/src/pal/inc/pal_mstypes.h @@ -74,8 +74,10 @@ extern "C" { // On ARM __fastcall is ignored and causes a compile error #if !defined(PAL_STDCPP_COMPAT) || defined(__arm__) -#define __fastcall -#define _fastcall +# undef __fastcall +# undef _fastcall +# define __fastcall +# define _fastcall #endif // !defined(PAL_STDCPP_COMPAT) || defined(__arm__) #endif // !defined(__i386__) |