diff options
author | Damien Plisson <damien.plisson@yahoo.fr> | 2009-12-03 15:16:00 +0300 |
---|---|---|
committer | Damien Plisson <damien.plisson@yahoo.fr> | 2009-12-03 15:16:00 +0300 |
commit | 3b1c6d6065ea784e6986bff58a842afd0915dc7a (patch) | |
tree | dd0716174c9a7147bb513586739fc95bb7787106 /intern/ghost/SConscript | |
parent | 1fd581ad77e2958e4ea7a6faf0afd823d26f042c (diff) |
Quicktime Carbon: Fix memory leak when build with cocoa
Diffstat (limited to 'intern/ghost/SConscript')
-rw-r--r-- | intern/ghost/SConscript | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/intern/ghost/SConscript b/intern/ghost/SConscript index 90a86ae01a9..2a06a9d3c9e 100644 --- a/intern/ghost/SConscript +++ b/intern/ghost/SConscript @@ -12,6 +12,7 @@ if window_system == 'darwin': pf = ['GHOST_DisplayManager', 'GHOST_System', 'GHOST_Window', 'GHOST_DropTarget'] +defs=['_USE_MATH_DEFINES'] if window_system in ('linux2', 'openbsd3', 'sunos5', 'freebsd6', 'irix6'): for f in pf: @@ -29,6 +30,10 @@ elif window_system in ('win32-vc', 'win32-mingw', 'cygwin', 'linuxcross', 'win64 pass elif window_system == 'darwin': if env['WITH_GHOST_COCOA']: + if env['WITH_BF_QUICKTIME']: + defs.append('WITH_QUICKTIME') + if env['USE_QTKIT']: + defs.append('USE_QTKIT') for f in pf: try: sources.remove('intern' + os.sep + f + 'Win32.cpp') @@ -49,7 +54,6 @@ else: print "Unknown window system specified." Exit() -defs=['_USE_MATH_DEFINES'] if env['BF_GHOST_DEBUG']: defs.append('BF_GHOST_DEBUG') |