diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2012-09-27 09:50:24 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2012-09-27 12:18:49 +0200 |
commit | 3e5c86705120ec5144db67104036f2fa5790be21 (patch) | |
tree | 263e102a4b333f14b0c75be19863c5cb8b95868f | |
parent | d2aa4ebb7aebbf9f574a719f4b10ab53781aa533 (diff) |
tubes: fix glibc detected memory corruption in ScDocShell
ENABLE_TELEPATHY was used in docsh.hxx but not defined consistently.
Add global define to gbuild.
Change-Id: I9746297a0be0e01573e336d4ee237bcc14d2d47d
-rw-r--r-- | desktop/Library_sofficeapp.mk | 4 | ||||
-rw-r--r-- | sc/Library_sc.mk | 4 | ||||
-rw-r--r-- | solenv/gbuild/gbuild.mk | 4 |
3 files changed, 4 insertions, 8 deletions
diff --git a/desktop/Library_sofficeapp.mk b/desktop/Library_sofficeapp.mk index 607d75130051..9e4fa379374b 100644 --- a/desktop/Library_sofficeapp.mk +++ b/desktop/Library_sofficeapp.mk @@ -90,10 +90,6 @@ $(eval $(call gb_Library_add_exception_objects,sofficeapp,\ ifeq ($(ENABLE_TELEPATHY),TRUE) $(eval $(call gb_Library_use_libraries,sofficeapp,tubes)) - -$(eval $(call gb_Library_add_defs,sofficeapp,\ - -DENABLE_TELEPATHY \ -)) endif # diff --git a/sc/Library_sc.mk b/sc/Library_sc.mk index 345c7b5a0303..bbbab8f84bb0 100644 --- a/sc/Library_sc.mk +++ b/sc/Library_sc.mk @@ -49,10 +49,6 @@ $(eval $(call gb_Library_use_externals,sc,\ ifeq ($(ENABLE_TELEPATHY),TRUE) $(eval $(call gb_Library_use_libraries,sc,tubes)) -$(eval $(call gb_Library_add_defs,sc,\ - -DENABLE_TELEPATHY \ -)) - $(eval $(call gb_Library_add_exception_objects,sc,\ sc/source/ui/collab/sccollaboration \ sc/source/ui/collab/sendfunc \ diff --git a/solenv/gbuild/gbuild.mk b/solenv/gbuild/gbuild.mk index aeb59a8046db..0f11ea0c4eb2 100644 --- a/solenv/gbuild/gbuild.mk +++ b/solenv/gbuild/gbuild.mk @@ -278,6 +278,10 @@ ifeq ($(HAVE_THREADSAFE_STATICS),TRUE) gb_GLOBALDEFS += -DHAVE_THREADSAFE_STATICS endif +ifeq ($(ENABLE_TELEPATHY),TRUE) +gb_GLOBALDEFS += -DENABLE_TELEPATHY +endif + gb_GLOBALDEFS := $(sort $(gb_GLOBALDEFS)) include $(GBUILDDIR)/Deliver.mk |