Preprocessor Usage Question

terry bohning terryb.bbs at shark.cs.fau.edu
Thu Apr 25 10:21:38 AEST 1991


Here is a preprocessor question:
I want to define a macro which will put either "a_" or 
"b_" in front of all my function names.  Can it be done.
That is, something like:

#define RADIO a         /* #define RADIO a or b */

main() {
        RADIO_func1(args);
        RADIO_func2(args);
        .
        .
}

Of course, this doesn't work, but I think you see what I would like
to do.

thanx
tb



More information about the Comp.unix.questions mailing list