X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=BaseTools%2FSource%2FC%2FCommon%2FCommonLib.h;h=dccb19223ba2bac09aa8cde2ad84050648e9dd46;hp=9da16e8cd30156958de599de5cb62fcb7438cfac;hb=e4fb8f1d313858bd5e415725e65e65679f2b05a0;hpb=9a6b445bc2e6e2db6f67ab3cc425d5831aa1b7c8;ds=sidebyside diff --git a/BaseTools/Source/C/Common/CommonLib.h b/BaseTools/Source/C/Common/CommonLib.h index 9da16e8cd3..dccb19223b 100644 --- a/BaseTools/Source/C/Common/CommonLib.h +++ b/BaseTools/Source/C/Common/CommonLib.h @@ -1,7 +1,7 @@ /** @file Common library assistance routines. -Copyright (c) 2004 - 2017, Intel Corporation. All rights reserved.
+Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -28,9 +28,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #define MAX_UINT8 ((UINT8)0xFF) #define ARRAY_SIZE(Array) (sizeof (Array) / sizeof ((Array)[0])) #define ASCII_RSIZE_MAX 1000000 -#ifndef RSIZE_MAX +#undef RSIZE_MAX #define RSIZE_MAX 1000000 -#endif #define IS_COMMA(a) ((a) == L',') #define IS_HYPHEN(a) ((a) == L'-')