Blame nss/coreconf/HP-UXB.10.30.mk

Packit 40b132
#
Packit 40b132
# This Source Code Form is subject to the terms of the Mozilla Public
Packit 40b132
# License, v. 2.0. If a copy of the MPL was not distributed with this
Packit 40b132
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
Packit 40b132
Packit 40b132
# On HP-UX 10.30 and 11.00, the default implementation strategy is
Packit 40b132
# pthreads.  Classic nspr and pthreads-user are also available.
Packit 40b132
Packit 40b132
ifeq ($(OS_RELEASE),B.10.30)
Packit 40b132
	DEFAULT_IMPL_STRATEGY	 = _PTH
Packit 40b132
endif
Packit 40b132
Packit 40b132
#
Packit 40b132
# Config stuff for HP-UXB.10.30.
Packit 40b132
#
Packit 40b132
include $(CORE_DEPTH)/coreconf/HP-UXB.10.mk
Packit 40b132
Packit 40b132
OS_CFLAGS		+= -DHPUX10_30
Packit 40b132
Packit 40b132
#
Packit 40b132
# To use the true pthread (kernel thread) library on 10.30 and
Packit 40b132
# 11.00, we should define _POSIX_C_SOURCE to be 199506L.
Packit 40b132
# The _REENTRANT macro is deprecated.
Packit 40b132
#
Packit 40b132
Packit 40b132
ifdef USE_PTHREADS
Packit 40b132
	OS_CFLAGS	+= -D_POSIX_C_SOURCE=199506L
Packit 40b132
endif