From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:4864:20::341; helo=mail-wm1-x341.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 82D0A21196819 for ; Fri, 30 Nov 2018 14:45:51 -0800 (PST) Received: by mail-wm1-x341.google.com with SMTP id r24so2634943wmh.0 for ; Fri, 30 Nov 2018 14:45:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ucnF6W0Y41p78RwIZ7h5fNgQbYsXHvpOMqUjE4y9c6c=; b=OPns/j6oMIrwWoxCt+hpGgSIq7wqPckqkrFKwNk0DCsZKzRQmEEE97IHd3uYenIC9Z he8BFuRd+haQPAwseZfEH0vmJzOofHr05a2Jz1a5zHfwmZ1Nk3jH6/vwi0HLQeOgfQ7t U8mcZCMPZFtFs5bzcfmNQx8P62PrKxay3UE3U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ucnF6W0Y41p78RwIZ7h5fNgQbYsXHvpOMqUjE4y9c6c=; b=sS9O2R/5438vdlcBkj0B5ijVJprICZDba808C/k6M9zYrMbkM0LH2KsVOb268aCq7t 0q1rorv7uXcWJ5gi18BI3GA3d3jV/1xruZeaaHBI6+GctIzvM6hkK3WSp7Tc6ROBTvdg ha2pR+iyBq7pHbZb0jfYi5aMp4SFOId2l9KQkJvDsjH9H3Fk5N/GR9XGZAC83eR4yAxy jxit+UoFd5IEeRn9i6ApJqZIGhXVBDD1/cPRGx/pZCGKmqdfe5crqyzjDSN2owc91hGu Z48+lFD5w7G+u7HTrkzkrnVBRUrUc6DxQmctS5FBNRhIANYF5/E3+YORUsuLJyKDk5JL QhTQ== X-Gm-Message-State: AA+aEWb4PJzGupoZIRZalxZVPoEJOEsqfrBqxMqDMZ9jgMx+KWPKG2lu aDj/QpPMpJyRk3WgNOwUn/JyJUrwJJk= X-Google-Smtp-Source: AFSGD/VZ/gObt91/jYCV1cj2p1xSKsR0KG3k+HiTmYomyeF+nlGC6hkj0KaIL7f0izLGQ0uuifmFPA== X-Received: by 2002:a7b:c8d7:: with SMTP id f23mr478061wml.121.1543617949641; Fri, 30 Nov 2018 14:45:49 -0800 (PST) Received: from harold.home ([2a01:cb1d:112:6f00:d895:e032:7b00:86cd]) by smtp.gmail.com with ESMTPSA id m6sm10561195wrv.24.2018.11.30.14.45.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Nov 2018 14:45:48 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Cc: Ard Biesheuvel , Laszlo Ersek , Yonghong Zhu , Liming Gao , Bob Feng , Jaben Carsey Date: Fri, 30 Nov 2018 23:45:37 +0100 Message-Id: <20181130224537.18936-7-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181130224537.18936-1-ard.biesheuvel@linaro.org> References: <20181130224537.18936-1-ard.biesheuvel@linaro.org> MIME-Version: 1.0 Subject: [PATCH v2 6/6] BaseTools/CommonLib: drop definition of MAX_UINTN X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Nov 2018 22:45:51 -0000 Content-Transfer-Encoding: 8bit The maximum value that can be represented by the native word size of the *target* should be irrelevant when compiling tools that run on the build *host*. So drop the definition of MAX_UINTN, now that we no longer use it. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel Reviewed-by: Jaben Carsey --- BaseTools/Source/C/Common/CommonLib.h | 1 - 1 file changed, 1 deletion(-) diff --git a/BaseTools/Source/C/Common/CommonLib.h b/BaseTools/Source/C/Common/CommonLib.h index 6930d9227b87..b1c6c00a3478 100644 --- a/BaseTools/Source/C/Common/CommonLib.h +++ b/BaseTools/Source/C/Common/CommonLib.h @@ -22,7 +22,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #define MAX_LONG_FILE_PATH 500 -#define MAX_UINTN MAX_ADDRESS #define MAX_UINT64 ((UINT64)0xFFFFFFFFFFFFFFFFULL) #define MAX_UINT16 ((UINT16)0xFFFF) #define MAX_UINT8 ((UINT8)0xFF) -- 2.19.1