Android - Fix duplicate definitions of INT_MIN and PAGE_SIZE in unit tests (dotnet...
authorFrederik Carlier <frederik.carlier@quamotion.mobi>
Mon, 6 Feb 2017 15:25:36 +0000 (16:25 +0100)
committerJan Vorlicek <janvorli@microsoft.com>
Mon, 6 Feb 2017 15:25:36 +0000 (16:25 +0100)
* Don't refdefine PAGE_SIZE on Android

* Don't re-declare INT_MIN on Android

* Fixup

Commit migrated from https://github.com/dotnet/coreclr/commit/ec23bace223bf449a08bde2f1ec3e2c0135ce408

src/coreclr/src/pal/tests/palsuite/threading/NamedMutex/test1/nopal.cpp
src/coreclr/tests/src/Interop/common/types.h

index cb59c42..f183a07 100755 (executable)
@@ -5,6 +5,7 @@
 #ifndef _INTEROP_TYPES__H
 #define _INTEROP_TYPES__H
 
+#undef INT_MIN
 #define INT_MIN           (-2147483647 - 1)
 
 typedef char16_t WCHAR;