On 11/29/2011 01:21 PM, Russell Bryant wrote:
On 11/29/2011 12:36 PM, Zane Bitter wrote:
> It makes no sense to force users of these header files to specify it every
> time.
>
> Signed-off-by: Zane Bitter<zbitter(a)redhat.com>
Indeed, ack.
How'd you chose the define to check for? In some other code I work on,
we have this everywhere:
#if defined(__cplusplus) || defined(c_plusplus)
but I don't know where it originated. It just gets copied from
elsewhere in the same code base now.
Zane posted this link on IRC which answers my question. Now we know. :-)
http://www.mail-archive.com/lesstif@hungry.com/msg00323.html
--
Russell Bryant