When building for SLES10, I ran into a build failure which results from printf
being a macro, and two files which have an #include preprocessing directive
within the macro arguments. There are other pp-directives,but the #include was
the only one causing problems. (This was with gcc 4.x btw.)
It is undefined behavior to include pp-directives within macro arguments, and
pretty much any of the std-c defined functions can be implemented as macros, so
this patch avoids the issue by ensuring we are not using the macro version in
the problematic cases.
Signed-off-by: Bruce Rogers <address@hidden>