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


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to