polish windows build
This commit is contained in:
parent
a66332d66f
commit
bcb22239bf
2
Jamfile
2
Jamfile
|
@ -587,7 +587,6 @@ lib torrent
|
||||||
src/$(SOURCES).cpp
|
src/$(SOURCES).cpp
|
||||||
|
|
||||||
: # requirements
|
: # requirements
|
||||||
<define>BOOST_THREAD_USE_LIB
|
|
||||||
<threading>multi
|
<threading>multi
|
||||||
<link>shared:<define>TORRENT_BUILDING_SHARED
|
<link>shared:<define>TORRENT_BUILDING_SHARED
|
||||||
|
|
||||||
|
@ -596,7 +595,6 @@ lib torrent
|
||||||
# to declare the symbol as being exported
|
# to declare the symbol as being exported
|
||||||
<link>shared:<define>BOOST_ASIO_SOURCE
|
<link>shared:<define>BOOST_ASIO_SOURCE
|
||||||
<link>shared:<define>BOOST_SYSTEM_SOURCE
|
<link>shared:<define>BOOST_SYSTEM_SOURCE
|
||||||
<link>shared,<boost-link>static:<define>BOOST_ALL_DYN_LINK
|
|
||||||
<link>shared:<define>BOOST_ALL_DYN_LINK
|
<link>shared:<define>BOOST_ALL_DYN_LINK
|
||||||
|
|
||||||
<dht-support>on:<source>src/kademlia/$(KADEMLIA_SOURCES).cpp
|
<dht-support>on:<source>src/kademlia/$(KADEMLIA_SOURCES).cpp
|
||||||
|
|
|
@ -49,11 +49,18 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
build, to automatically apply these defines
|
build, to automatically apply these defines
|
||||||
#endif
|
#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
|
#ifndef _MSC_VER
|
||||||
#define __STDC_FORMAT_MACROS 1
|
#define __STDC_FORMAT_MACROS 1
|
||||||
#define __STDC_LIMIT_MACROS 1
|
#define __STDC_LIMIT_MACROS 1
|
||||||
#include <inttypes.h> // for PRId64 et.al.
|
#include <inttypes.h> // for PRId64 et.al.
|
||||||
#include <stdint.h> // for INT64_MAX
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef PRId64
|
#ifndef PRId64
|
||||||
|
@ -69,10 +76,6 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined INT64_MAX
|
|
||||||
#define INT64_MAX 0x7fffffffffffffffLL
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// backwards compatibility with older versions of boost
|
// backwards compatibility with older versions of boost
|
||||||
#if !defined BOOST_SYMBOL_EXPORT && !defined BOOST_SYMBOL_IMPORT
|
#if !defined BOOST_SYMBOL_EXPORT && !defined BOOST_SYMBOL_IMPORT
|
||||||
# if defined _MSC_VER || defined __MINGW32__
|
# if defined _MSC_VER || defined __MINGW32__
|
||||||
|
|
Loading…
Reference in New Issue