From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id CE3B45A0F for ; Fri, 20 Nov 2015 18:03:41 +0100 (CET) Received: by wmvv187 with SMTP id v187so80947674wmv.1 for ; Fri, 20 Nov 2015 09:03:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=Eldr+2Ce87kQwgvumKpvM09AUAzSII2CyPNBDTksAC0=; b=sBZUKCwkqbxT6pkfZArgPWFqvWXY1aK22xOmsZIeq7kzsfMnf+dtBtXw8T8Hf12y/F dn5aaH5WzJdqrdbtRZuwM6Licf7IM+aKjbrRpHTMdUcopvrs+70d/rn7ectEqUZW+C3j i+80y8d7xtQXsI2WGAiyrxCzXPAqR23GrLGuzitXsCgPCmnOSlrG4HH2gyvs4gY/Xkmj BCKCey1pHjj+Sk0/aE7obFF3xHtAtNtiiU6DHztovmw/wRk9Xja8IWiJUOeiIGjLo79D bnxMziztq+50qA9RyLLv1ciKuTlSpH+Yr6avSnfYeswEMd5mAZOR7NTQGWpuS6aGQ+zB PQYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=Eldr+2Ce87kQwgvumKpvM09AUAzSII2CyPNBDTksAC0=; b=gj5MS3ArUf0W3DjzdYE+8Z8OubIvMm4rz6ojeHmJaz7zHqIdH72XMeAd0Nj0uihNYM mt74m0AqXF+bvYdj+xhgzKa771sFP1kChWWR3yQrsdJ2bZsqG82/DvrSkkcsXGiVuyjL QKMAuvUldPUC+VCZYFjR+CUasHEXisgeZDk9CjzwmdXfdHnRiJ0MWY3BQL1AVSsBTCOS LixGJnl7OvlhGdAhsm72l4f8kjqI8K1lOALQrEVozx5e5FkQOPzvR2rLuxC23buCLwl2 jdEo9g5076SOHcnykYeOALeIYiIIoGIyxD2H7FeHxiMb1VSYelrg4eBMV+gr1H91TY4+ cCpg== X-Gm-Message-State: ALoCoQkVzUsi6BTMrwNseFr0vypc39Z7VuLYLU53ngNTI/2He6MtIufLkLTZhGQC0N3jLdqhknQI X-Received: by 10.194.118.40 with SMTP id kj8mr14152458wjb.72.1448039021692; Fri, 20 Nov 2015 09:03:41 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id l1sm405771wjx.13.2015.11.20.09.03.40 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 20 Nov 2015 09:03:40 -0800 (PST) From: Thomas Monjalon To: Ferruh Yigit Date: Fri, 20 Nov 2015 18:02:27 +0100 Message-ID: <2063051.3uf6i0r1md@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1447932222-17018-1-git-send-email-ferruh.yigit@intel.com> References: <103431910.iACTIb73WP@xps13> <1447932222-17018-1-git-send-email-ferruh.yigit@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] eal: fix compile error for old glibc caused by CLOCK_MONOTONIC_RAW X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Nov 2015 17:03:41 -0000 2015-11-19 11:23, Ferruh Yigit: > Fixes: d08d304508a8 ("eal/linux: make alarm not affected by system time > jump") > > CLOCK_MONOTONIC_RAW added in glibc 2.12, using this define in older > glibc versions cause compile error: > 'error: identifier "CLOCK_MONOTONIC_RAW" is undefined' > > This patch replaces "CLOCK_MONOTONIC_RAW" with "CLOCK_MONOTONIC" for > older glibc versions, versions that support "CLOCK_MONOTONIC_RAW" > will keep using this clock type. > > Signed-off-by: Ferruh Yigit Applied, thanks