From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] eal: fix compile error for old glibc caused by CLOCK_MONOTONIC_RAW Date: Fri, 20 Nov 2015 18:02:27 +0100 Message-ID: <2063051.3uf6i0r1md@xps13> References: <103431910.iACTIb73WP@xps13> <1447932222-17018-1-git-send-email-ferruh.yigit@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Ferruh Yigit 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) In-Reply-To: <1447932222-17018-1-git-send-email-ferruh.yigit@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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