added guards to avoid macro definition when used with boost_config.hpp [closed]

This pull request has been replaced with pull request 261.