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::343; helo=mail-wm1-x343.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) (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 130E021CAD998 for ; Thu, 29 Nov 2018 04:31:43 -0800 (PST) Received: by mail-wm1-x343.google.com with SMTP id y185so6279833wmd.1 for ; Thu, 29 Nov 2018 04:31:42 -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=ClfePa18eW3Fx9/J8Ef9Pe0k/dIDucAlfJouSV/8AB4=; b=LK2YI2HH6wxiP5Verdlums+/AyMiVh5FTGyhJOEj9SuEFWXRYZaifTDT9JnGWQY3Jd PRdzsi3Ufm66TFqeD591qz713VhJhNWmA8fk+LLPgu0FlJ61gwzSTvcsXCny0x15zdda ZVMjUZpm+nu+W74QTmr9n2SLvlBUbAjSG5+eA= 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=ClfePa18eW3Fx9/J8Ef9Pe0k/dIDucAlfJouSV/8AB4=; b=r4K0RnMNnjPGWagBj9J6XQr5ytjW4QHAMV6xDclPpH28Tll+WE+Fm6vaBFrM3yiRfr l9jAh9OldzPYX3etkW2dWOU4M5HTpQGQ1/TxfI8lcgazy11KqH8QXbLgFuTQLQFE/z0Q WciSwNDfFFvtUWatxYkvsPVnZm1wBuBlqIIKfp+1ZTNfcL2teuskun4A01/KSDLFDRkL Qu8570nFJEEdtOUpmJG8wg2l2CYuI0dYfxfZzVdTxSv+4GY/M6W503rQZzZ91Vq2jVfm UupbW6YFnHpWP3x5YqJ3xSR1YW2oVY/lxIU3lm40E+23HymSTkMIJvGyYbv/ydl137l8 xCgg== X-Gm-Message-State: AA+aEWYCONeQCQweoe81mD9GuUxYeeV8c1v0upYMjipt6Bp+cWifSL9D 1Zbzxdm6qHkOnLv2UZD03KPdkgPGpPs= X-Google-Smtp-Source: AFSGD/Up29+mQ/QDu1b3DqJh6ccPm8PWOu0+sk1car01dBCqXOS1D9lqnwmZc6xprKo54iZEqDQqLA== X-Received: by 2002:a7b:c5d1:: with SMTP id n17mr1566167wmk.152.1543494701462; Thu, 29 Nov 2018 04:31:41 -0800 (PST) Received: from harold.home ([2a01:cb1d:112:6f00:3580:6f80:40a7:5bdd]) by smtp.gmail.com with ESMTPSA id c7sm3089525wre.64.2018.11.29.04.31.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Nov 2018 04:31:40 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Cc: Ard Biesheuvel , Laszlo Ersek , Yonghong Zhu , Liming Gao , Bob Feng Date: Thu, 29 Nov 2018 13:31:29 +0100 Message-Id: <20181129123129.25095-7-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181129123129.25095-1-ard.biesheuvel@linaro.org> References: <20181129123129.25095-1-ard.biesheuvel@linaro.org> MIME-Version: 1.0 Subject: [PATCH 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: Thu, 29 Nov 2018 12:31:43 -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 --- 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