From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Gehrlein Date: Mon, 30 Jun 2008 12:04:04 +0200 Subject: [U-Boot-Users] [PATCH] net: smc911x: Fix can not compile smc911x In-Reply-To: <29ab51dc0806300145n5d5dbbcdq7a11e3780b71840f@mail.gmail.com> References: <29ab51dc0806300145n5d5dbbcdq7a11e3780b71840f@mail.gmail.com> Message-ID: <4868AF94.8040504@tqs.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Nobuhiro, Nobuhiro Iwamatsu schrieb: > When enable CONFIG_DRIVER_SMC911X_16_BIT in smc911x, can not compile it. > I revised it from "elif" preprocessor to "elif defined". You are right. It depends on if one writes #define NAME or #define NAME 1 "#elif" and "#elif defined" behave different then. Probably, I only tested with the "number"-version. Thank you for catching this. Best Regards, Jens