Lock-free memory allocator
[blender.git] / intern / guardedalloc / SConscript
index e3f787fe6c2d2ad09feef2eda5e84a8bee5a03cb..3bae808cc943a19c1d0fbf382fce0dd2880f493a 100644 (file)
@@ -29,10 +29,12 @@ Import('env')
 
 defs = []
 
-sources = ['intern/mallocn.c', 'intern/mmap_win.c']
-
-# could make this optional
-defs.append('WITH_GUARDEDALLOC')
+sources = [
+    'intern/mallocn.c', 
+    'intern/mallocn_guarded_impl.c',
+       'intern/mallocn_lockfree_impl.c',
+    'intern/mmap_win.c'
+]
 
 if env['WITH_BF_CXX_GUARDEDALLOC']:
     sources.append('cpp/mallocn.cpp')