OpenVMS port; checkin for "Colin R. Blake" <colin@theblakes.com>.

This commit is contained in:
srinivas%netscape.com 1999-07-16 02:35:57 +00:00
Родитель 7703e6769b
Коммит 455d8411ca
2 изменённых файлов: 1 добавлений и 26 удалений

Просмотреть файл

@ -34,7 +34,7 @@ RANLIB = /bin/true
CPU_ARCH_TAG = _$(CPU_ARCH)
OS_CFLAGS = -DVMS
OS_CFLAGS = -DVMS -DGENERIC_PTHREAD_REDEFINES
# The command to build a shared library in POSIX on OpenVMS.
MKSHLIB = vmsld $(OPTIMIZER)

Просмотреть файл

@ -189,28 +189,3 @@ int thread_resume(PRThread *thr_id) {
}
#ifdef AS_IS
/*
** These are here because of the problems we have when
** compiling AS_IS. After much trying to fix this problem
** with macro definitions in _pth.h, I finally gave up
** and put these jackets here. So now these two calls both
** map onto their lowercase version, and the lowercase
** version here just calls the uppercase version.
*/
#undef PTHREAD_MUTEX_INIT
#undef PTHREAD_COND_INIT
int pthread_mutex_init (
pthread_mutex_t *mutex,
const pthread_mutexattr_t *attr) {
return PTHREAD_MUTEX_INIT(mutex,attr);
}
int pthread_cond_init (
pthread_cond_t *cond,
const pthread_condattr_t *attr){
return PTHREAD_COND_INIT (cond,attr);
}
#endif