Fix ARM build regression
authorBen Pye <ben@curlybracket.co.uk>
Thu, 3 Mar 2016 15:16:33 +0000 (15:16 +0000)
committerBen Pye <ben@curlybracket.co.uk>
Thu, 3 Mar 2016 15:16:33 +0000 (15:16 +0000)
Commit migrated from https://github.com/dotnet/coreclr/commit/55a784c786e698dc394568fcdf6d42c9d0c827e0

src/coreclr/src/pal/inc/pal_mstypes.h

index 9f3e795..aa72d66 100644 (file)
@@ -525,7 +525,9 @@ typedef _W64 unsigned __int32 DWORD_PTR, *PDWORD_PTR;
 /* maximum unsigned 32 bit value */
 #define ULONG_PTR_MAX     0xffffffffUL
 
+#ifndef SIZE_MAX
 #define SIZE_MAX UINT_MAX
+#endif
 
 #define __int3264   __int32