Merging r48992 through r48995 from trunk into soc-2011-tomato
[blender.git] / source / blender / windowmanager / intern / wm_init_exit.c
index 5e3d5acfe868e6d75c4163097b73215531155e14..18c9866da93a9f97dc8194d5e691bb9c56e31f17 100644 (file)
@@ -206,11 +206,13 @@ void WM_init(bContext *C, int argc, const char **argv)
 
        BLI_strncpy(G.lib, G.main->name, FILE_MAX);
 
+#ifdef WITH_COMPOSITOR
        if (1) {
                extern void *COM_linker_hack;
                extern void *COM_execute;
                COM_linker_hack = COM_execute;
        }
+#endif
 }
 
 void WM_init_splash(bContext *C)