mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
build errors
This commit is contained in:
parent
ad62e9bb9b
commit
72f6c6d580
@ -52,9 +52,11 @@ typedef ReMutexPosixImpl ReMutexImpl;
|
|||||||
// interface with an external program or something that wants real
|
// interface with an external program or something that wants real
|
||||||
// locks.
|
// locks.
|
||||||
#if defined(WIN32_VC)
|
#if defined(WIN32_VC)
|
||||||
|
#include "mutexWin32Impl.h"
|
||||||
typedef MutexWin32Impl TrueMutexImpl;
|
typedef MutexWin32Impl TrueMutexImpl;
|
||||||
|
|
||||||
#elif defined(HAVE_POSIX_THREADS)
|
#elif defined(HAVE_POSIX_THREADS)
|
||||||
|
#include "mutexPosixImpl.h"
|
||||||
typedef MutexPosixImpl TrueMutexImpl;
|
typedef MutexPosixImpl TrueMutexImpl;
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
@ -85,7 +85,7 @@ release() {
|
|||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
INLINE pthread_mutex_t *MutexPosixImpl::
|
INLINE pthread_mutex_t *MutexPosixImpl::
|
||||||
get_posix_lock() {
|
get_posix_lock() {
|
||||||
return _lock;
|
return &_lock;
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
@ -160,5 +160,5 @@ release() {
|
|||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
INLINE pthread_mutex_t *ReMutexPosixImpl::
|
INLINE pthread_mutex_t *ReMutexPosixImpl::
|
||||||
get_posix_lock() {
|
get_posix_lock() {
|
||||||
return _lock;
|
return &_lock;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user