|
From: | Fred Proctor |
Subject: | How to get AC_DEFINE to generate a macro, e.g., #define incr(x) ((x)+1) ? |
Date: | Thu, 09 Jun 2005 16:08:50 -0400 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031114 |
AC_DEFINE(incr(x),((x)+1),"increment")The parens in the value part, ((x)+1), go across OK. The parens in the variable part, incr(x), are killing me.
--Fred
[Prev in Thread] | Current Thread | [Next in Thread] |