It seems this does the job:
#if !defined(__GNUC__) || (__GNUC__ > 2)
I tested the example foo() as above on vxWorks 5: > foo Hello World
Looks fine to me.
It seems this does the job:
#if !defined(__GNUC__) || (__GNUC__ > 2)
I tested the example foo() as above on vxWorks 5:
> foo
Hello World
Looks fine to me.