polish windows build

This commit is contained in:
Arvid Norberg 2012-07-23 13:59:17 +00:00
parent a66332d66f
commit bcb22239bf
2 changed files with 8 additions and 7 deletions

View File

@ -587,7 +587,6 @@ lib torrent
src/$(SOURCES).cpp
: # requirements
<define>BOOST_THREAD_USE_LIB
<threading>multi
<link>shared:<define>TORRENT_BUILDING_SHARED
@ -596,7 +595,6 @@ lib torrent
# to declare the symbol as being exported
<link>shared:<define>BOOST_ASIO_SOURCE
<link>shared:<define>BOOST_SYSTEM_SOURCE
<link>shared,<boost-link>static:<define>BOOST_ALL_DYN_LINK
<link>shared:<define>BOOST_ALL_DYN_LINK
<dht-support>on:<source>src/kademlia/$(KADEMLIA_SOURCES).cpp

View File

@ -49,11 +49,18 @@ POSSIBILITY OF SUCH DAMAGE.
build, to automatically apply these defines
#endif
#if !defined _MSC_VER || _MSC_VER >= 1600
#include <stdint.h> // for INT64_MAX
#else
#if !defined INT64_MAX
#define INT64_MAX 0x7fffffffffffffffLL
#endif
#endif
#ifndef _MSC_VER
#define __STDC_FORMAT_MACROS 1
#define __STDC_LIMIT_MACROS 1
#include <inttypes.h> // for PRId64 et.al.
#include <stdint.h> // for INT64_MAX
#endif
#ifndef PRId64
@ -69,10 +76,6 @@ POSSIBILITY OF SUCH DAMAGE.
#endif
#endif
#if !defined INT64_MAX
#define INT64_MAX 0x7fffffffffffffffLL
#endif
// backwards compatibility with older versions of boost
#if !defined BOOST_SYMBOL_EXPORT && !defined BOOST_SYMBOL_IMPORT
# if defined _MSC_VER || defined __MINGW32__