1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/security/nss/coreconf/HP-UXB.10.30.mk Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,28 @@ 1.4 +# 1.5 +# This Source Code Form is subject to the terms of the Mozilla Public 1.6 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.8 + 1.9 +# On HP-UX 10.30 and 11.00, the default implementation strategy is 1.10 +# pthreads. Classic nspr and pthreads-user are also available. 1.11 + 1.12 +ifeq ($(OS_RELEASE),B.10.30) 1.13 + DEFAULT_IMPL_STRATEGY = _PTH 1.14 +endif 1.15 + 1.16 +# 1.17 +# Config stuff for HP-UXB.10.30. 1.18 +# 1.19 +include $(CORE_DEPTH)/coreconf/HP-UXB.10.mk 1.20 + 1.21 +OS_CFLAGS += -DHPUX10_30 1.22 + 1.23 +# 1.24 +# To use the true pthread (kernel thread) library on 10.30 and 1.25 +# 11.00, we should define _POSIX_C_SOURCE to be 199506L. 1.26 +# The _REENTRANT macro is deprecated. 1.27 +# 1.28 + 1.29 +ifdef USE_PTHREADS 1.30 + OS_CFLAGS += -D_POSIX_C_SOURCE=199506L 1.31 +endif