Skip to content

Commit

Permalink
Removed some build warnings in boost
Browse files Browse the repository at this point in the history
  • Loading branch information
taxilian committed Jan 30, 2011
1 parent 5665456 commit fcebae1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions boost/filesystem/v2/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
#ifndef BOOST_FILESYSTEM2_CONFIG_HPP
#define BOOST_FILESYSTEM2_CONFIG_HPP

#ifdef BOOST_LIB_NAME
#undef BOOST_LIB_NAME
#endif

# if defined(BOOST_FILESYSTEM_VERSION) && BOOST_FILESYSTEM_VERSION != 2
# error Compiling Filesystem version 2 file with BOOST_FILESYSTEM_VERSION defined != 2
# endif
Expand Down
4 changes: 4 additions & 0 deletions boost/filesystem/v3/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
#ifndef BOOST_FILESYSTEM3_CONFIG_HPP
#define BOOST_FILESYSTEM3_CONFIG_HPP

#ifdef BOOST_LIB_NAME
#undef BOOST_LIB_NAME
#endif

# if defined(BOOST_FILESYSTEM_VERSION) && BOOST_FILESYSTEM_VERSION != 3
# error Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined != 3
# endif
Expand Down
4 changes: 4 additions & 0 deletions boost/system/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
#ifndef BOOST_SYSTEM_CONFIG_HPP
#define BOOST_SYSTEM_CONFIG_HPP

#ifdef BOOST_LIB_NAME
#undef BOOST_LIB_NAME
#endif

#include <boost/config.hpp>
#include <boost/system/api_config.hpp> // for BOOST_POSIX_API or BOOST_WINDOWS_API

Expand Down

0 comments on commit fcebae1

Please sign in to comment.