discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Compiler preprocessor defines


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] Compiler preprocessor defines
Date: Mon, 3 Nov 2008 11:54:11 -0800
User-agent: Mutt/1.5.18 (2008-05-17)

On Mon, Nov 03, 2008 at 02:16:10PM -0500, Ed Criscuolo wrote:
> Is there any preprocessor define (or defines) that can be used
> when compiling C++ GnuRadio code to differentiate between
> different OSs?  I've looked through config.h but didn't see
> anything obvious.  I need to compile two different pieces
> of code for OSX vs LINUX.
>

FWIW, the "autoconf way" is to test for features, not OS's.
In any event, if you look through config/*.m4 directory you'll find
all sorts of examples.

See also the autoconf manual.

What are you trying to conditionalize?

Eric




reply via email to

[Prev in Thread] Current Thread [Next in Thread]