forked from premiere/premiere-libtorrent
build mpi.c as c++ to allow including boost headers (#1026)
build mpi.c as c++ to allow including boost headers
This commit is contained in:
parent
97ce1b07bf
commit
2a36f9015d
2
Jamfile
2
Jamfile
|
@ -328,7 +328,7 @@ rule building ( properties * )
|
|||
|
||||
if <encryption>on in $(properties)
|
||||
{
|
||||
result += <source>src/mpi.c ;
|
||||
result += <source>src/mpi.cpp ;
|
||||
result += <source>src/pe_crypto.cpp ;
|
||||
}
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@ libtorrent_rasterbar_la_SOURCES = \
|
|||
magnet_uri.cpp \
|
||||
merkle.cpp \
|
||||
metadata_transfer.cpp \
|
||||
mpi.c \
|
||||
mpi.cpp \
|
||||
natpmp.cpp \
|
||||
parse_url.cpp \
|
||||
part_file.cpp \
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#include "libtorrent/aux_/disable_warnings_push.hpp"
|
||||
|
||||
/* Start: bn_error.c */
|
||||
#include "libtorrent/tommath_private.h"
|
||||
#ifdef BN_ERROR_C
|
Loading…
Reference in New Issue