On Fri, 22 Jan 2010 10:24:30 +0100, "Marcel Loose" <[email protected]> wrote: > Partly true. > If the preprocessor symbol provides a generic name for a function, which > may have different names on different platforms, it will still work. > > For example. > > # define basename __xdg_basename
No. It will *not* work in this case because no headers are included when the test program is linked. Jed _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
