mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
use __restrict on linux to accomodate c++ programs. closes #1678
git-svn-id: file:///svn/toku/tokudb@11262 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
0982c11fbf
commit
2911855051
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ typedef pthread_rwlock_t toku_pthread_rwlock_t;
|
|||
typedef pthread_rwlockattr_t toku_pthread_rwlockattr_t;
|
||||
|
||||
static inline int
|
||||
toku_pthread_rwlock_init(toku_pthread_rwlock_t *restrict rwlock, const toku_pthread_rwlockattr_t *restrict attr) {
|
||||
toku_pthread_rwlock_init(toku_pthread_rwlock_t *__restrict rwlock, const toku_pthread_rwlockattr_t *__restrict attr) {
|
||||
return pthread_rwlock_init(rwlock, attr);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue