Attempt to fix mingw 64 bit compile error.
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
set(INC
|
||||
./intern
|
||||
../container
|
||||
../guardedalloc
|
||||
../moto/include
|
||||
../memutil
|
||||
)
|
||||
|
@@ -3,7 +3,7 @@ Import ('env')
|
||||
|
||||
sources = env.Glob('intern/*.cpp')
|
||||
|
||||
incs = 'intern ../container ../moto/include ../memutil'
|
||||
incs = 'intern ../container ../moto/include ../memutil ../guardedalloc'
|
||||
|
||||
env.BlenderLib ('bf_intern_bsp', sources, Split(incs), [], libtype=['core','player'], priority=[200,100] )
|
||||
|
||||
|
@@ -52,6 +52,8 @@
|
||||
|
||||
#include <functional>
|
||||
|
||||
#include "MEM_sys_types.h"
|
||||
|
||||
enum {
|
||||
|
||||
empty_tag = 0x0,
|
||||
@@ -100,9 +102,9 @@ public:
|
||||
|
||||
#if defined(_WIN64)
|
||||
CTR_TaggedIndex(
|
||||
const unsigned __int64 val
|
||||
const unsigned int64_t val
|
||||
) :
|
||||
m_val ( ((unsigned __int64)val & index_mask)
|
||||
m_val ( ((unsigned int64_t)val & index_mask)
|
||||
| ( (empty_tag << tag_shift)
|
||||
& (~index_mask) ) ) {
|
||||
}
|
||||
@@ -140,8 +142,8 @@ public:
|
||||
}
|
||||
|
||||
#if defined(_WIN64)
|
||||
operator unsigned __int64 () const {
|
||||
return (unsigned __int64)(m_val & index_mask);
|
||||
operator unsigned int64_t () const {
|
||||
return (unsigned int64_t)(m_val & index_mask);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@@ -27,6 +27,7 @@
|
||||
set(INC
|
||||
.
|
||||
../container
|
||||
../guardedalloc
|
||||
../memutil
|
||||
../moto/include
|
||||
)
|
||||
|
@@ -3,6 +3,6 @@ Import ('env')
|
||||
|
||||
sources = env.Glob('intern/*.cpp')
|
||||
|
||||
incs = '. ../moto/include ../container ../memutil'
|
||||
incs = '. ../moto/include ../container ../memutil ../guardedalloc'
|
||||
|
||||
env.BlenderLib ('bf_intern_decimate', sources, Split(incs) , [], libtype=['core', 'player'], priority = [200, 100] )
|
||||
|
Reference in New Issue
Block a user