forked from premiere/premiere-libtorrent
merged build fix from RC_0_16
This commit is contained in:
parent
70d3170963
commit
9bdcadb7ad
2
Jamfile
2
Jamfile
|
@ -63,7 +63,9 @@ rule linking ( properties * )
|
|||
}
|
||||
}
|
||||
|
||||
# dbghelp doesn't appear to exist in mingw
|
||||
if <target-os>windows in $(properties)
|
||||
&& ! <toolset>gcc in $(properties)
|
||||
&& ( <asserts>on in $(properties)
|
||||
|| <variant>debug in $(properties)
|
||||
|| <asio-debugging>on in $(properties) )
|
||||
|
|
|
@ -50,7 +50,9 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
#endif
|
||||
|
||||
#if !defined _MSC_VER || _MSC_VER >= 1600
|
||||
#ifndef __STDC_LIMIT_MACROS
|
||||
#define __STDC_LIMIT_MACROS 1
|
||||
#endif
|
||||
#include <stdint.h> // for INT64_MAX
|
||||
#else
|
||||
#if !defined INT64_MAX
|
||||
|
@ -59,7 +61,9 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
#endif
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#ifndef __STDC_FORMAT_MACROS
|
||||
#define __STDC_FORMAT_MACROS 1
|
||||
#endif
|
||||
#include <inttypes.h> // for PRId64 et.al.
|
||||
#endif
|
||||
|
||||
|
|
|
@ -59,6 +59,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
#include <windows.h>
|
||||
#include <winioctl.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#else
|
||||
// posix part
|
||||
#define _FILE_OFFSET_BITS 64
|
||||
|
|
Loading…
Reference in New Issue