зеркало из https://github.com/mozilla/gecko-dev.git
OpenVMS port; checkin for "Colin R. Blake" <colin@theblakes.com>.
This commit is contained in:
Родитель
7703e6769b
Коммит
455d8411ca
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче