# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- # # This file is part of the LibreOffice project. # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # $(eval $(call gb_StaticLibrary_StaticLibrary,expat)) $(eval $(call gb_StaticLibrary_set_warnings_not_errors,expat)) $(eval $(call gb_StaticLibrary_use_unpacked,expat,expat)) # no configure step on windows, no dependency ifneq ($(OS)$(COM),WNTMSC) $(eval $(call gb_StaticLibrary_use_external_project,expat,expat)) endif $(eval $(call gb_StaticLibrary_set_include,expat,\ -I$(call gb_UnpackedTarball_get_dir,expat) \ $$(INCLUDE) \ )) ifeq ($(OS),MACOSX) ifneq ($(strip $(SYSBASE)),) $(eval $(call gb_StaticLibrary_add_defs,expat,\ -DHAVE_MEMMOVE \ -DHAVE_BCOPY \ )) endif endif ifeq ($(OS),WNT) $(eval $(call gb_StaticLibrary_add_defs,expat,\ -DCOMPILED_FROM_DSP \ )) else $(eval $(call gb_StaticLibrary_add_defs,expat,\ -DHAVE_EXPAT_CONFIG_H \ )) endif # suppress warning spam $(eval $(call gb_StaticLibrary_add_cflags,expat,\ -w \ )) $(eval $(call gb_StaticLibrary_add_generated_cobjects,expat,\ UnpackedTarball/expat/lib/xmlparse \ UnpackedTarball/expat/lib/xmlrole \ UnpackedTarball/expat/lib/xmltok \ )) # vim: set noet sw=4 ts=4: ice-5-3'>distro/cib/libreoffice-5-3 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-11-04 12:48:59 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2018-11-04 11:49:42 +0100
commita2058e7516a01167c2d20ed157500b38db967c64 (patch)
tree375dc0fd109e36bc490ee7e04d2201cee10e4cf2 /dbaccess
parentb156ca6e4692c2a32f41b9dfcd543966efc64a5d (diff)
replace double-checked locking patterns with thread safe local statics
Change-Id: Ie1aae7ecbd065a88b371d8c0deb586f54f7eff65 Reviewed-on: https://gerrit.libreoffice.org/62835 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>