diff --git a/src/script/value.cpp b/src/script/value.cpp index 6458bdd6..ebee11a5 100644 --- a/src/script/value.cpp +++ b/src/script/value.cpp @@ -202,7 +202,9 @@ ScriptValueP rangeIterator(int start, int end) { // ----------------------------------------------------------------------------- : Integers -#define USE_POOL_ALLOCATOR +#ifdef USE_INTRUSIVE_PTR + #define USE_POOL_ALLOCATOR +#endif // Integer values class ScriptInt : public ScriptValue {