From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Johan_Bockg=C3=A5rd?= Newsgroups: gmane.emacs.devel Subject: Re: eval-when-compile Date: Wed, 08 Aug 2012 23:13:52 +0200 Message-ID: <87lihpccj3.fsf@gnu.org> References: <871ujx94qo.fsf@Rainer.invalid> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1344460443 11925 80.91.229.3 (8 Aug 2012 21:14:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Aug 2012 21:14:03 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 08 23:14:03 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SzDZq-0005nK-5m for ged-emacs-devel@m.gmane.org; Wed, 08 Aug 2012 23:14:02 +0200 Original-Received: from localhost ([::1]:40039 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzDZp-0005Mx-CV for ged-emacs-devel@m.gmane.org; Wed, 08 Aug 2012 17:14:01 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzDZm-0005Mr-Nz for emacs-devel@gnu.org; Wed, 08 Aug 2012 17:13:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SzDZl-0003sO-M7 for emacs-devel@gnu.org; Wed, 08 Aug 2012 17:13:58 -0400 Original-Received: from smtprelay-b11.telenor.se ([62.127.194.20]:44528) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzDZl-0003sE-FT for emacs-devel@gnu.org; Wed, 08 Aug 2012 17:13:57 -0400 Original-Received: from ipb3.telenor.se (ipb3.telenor.se [195.54.127.166]) by smtprelay-b11.telenor.se (Postfix) with ESMTP id 3B11AEA82A for ; Wed, 8 Aug 2012 23:13:56 +0200 (CEST) X-SMTPAUTH-B2: [bocjoh] X-SENDER-IP: [85.228.204.120] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmDCAMTVIlBV5Mx4PGdsb2JhbABFhRgiAYUAg0eqXwR9GQEBAQE3NIIgAQEEAVYoCwshJQ8BBBgBDAotiAcKu1qLVoMAgxwDqDk X-IronPort-AV: E=Sophos;i="4.77,735,1336341600"; d="scan'208";a="171216186" Original-Received: from c-78cce455.04-211-6c6b701.cust.bredbandsbolaget.se (HELO muon.localdomain) ([85.228.204.120]) by ipb3.telenor.se with ESMTP; 08 Aug 2012 23:13:55 +0200 Original-Received: by muon.localdomain (Postfix, from userid 1000) id E51174842E1; Wed, 8 Aug 2012 23:13:52 +0200 (CEST) Mail-Copies-To: never In-Reply-To: <871ujx94qo.fsf@Rainer.invalid> (Achim Gratz's message of "Fri, 27 Jul 2012 07:01:51 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 62.127.194.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:152353 Archived-At: Achim Gratz writes: > I've been trying to use eval-when-compile to switch between alternate > versions of code based on a compile-time decision. (if (eval-when-compile CONDITION) ...)