Skip to content

Commit

Permalink
Fixed compiler warnings in boost libs
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Bateman committed Jan 11, 2011
1 parent 7b79ade commit 956e055
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions boost/date_time/compiler_config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ namespace std {
// Set the name of our library, this will get undef'ed by auto_link.hpp
// once it's done with it:
//
#if defined(BOOST_LIB_NAME)
#undef BOOST_LIB_NAME
#endif
#define BOOST_LIB_NAME boost_date_time
//
// If we're importing code from a dll, then tell auto_link.hpp about it:
Expand Down
3 changes: 3 additions & 0 deletions boost/regex/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@
# define BOOST_REGEX_DECL
#endif

#if defined(BOOST_LIB_NAME)
#undef BOOST_LIB_NAME
#endif
#if !defined(BOOST_REGEX_NO_LIB) && !defined(BOOST_REGEX_SOURCE) && !defined(BOOST_ALL_NO_LIB) && defined(__cplusplus)
# define BOOST_LIB_NAME boost_regex
# if defined(BOOST_REGEX_DYN_LINK) || defined(BOOST_ALL_DYN_LINK)
Expand Down

0 comments on commit 956e055

Please sign in to comment.