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