From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: Differentiate between Xen versions at compile time Date: Fri, 23 Sep 2011 20:15:43 +0200 Message-ID: <20110923181543.GA17550@aepfle.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Aravindh Puthiyaparambil Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Fri, Sep 23, Aravindh Puthiyaparambil wrote: > The men_access interface has changed between 4.1 and unstable. Mainly > xc_mem_event_enable/disable() is now xc_mem_access_enable/disable(). > Is there a define to check against,  to pick up this difference during > compile time for a libxc app? Changeset 23842:483c5f8319ad removes XEN_DOMCTL_MEM_EVENT_OP_ENABLE, and XEN_DOMCTL_MEM_EVENT_OP_ACCESS_ENABLE was added. Olaf