Skip to content

Commit

Permalink
fixes compilation on suse 10.1
Browse files Browse the repository at this point in the history
fixes compilation on suse 10.1
  • Loading branch information
Gerilgfx committed Jun 4, 2014
1 parent ff4e4c1 commit af61130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion malloc.c.h
Original file line number Diff line number Diff line change
Expand Up @@ -2231,7 +2231,7 @@ static MLOCK_T malloc_global_mutex = PTHREAD_MUTEX_INITIALIZER;
/* skipped internal declaration from pthread.h */
#ifdef linux
#ifndef PTHREAD_MUTEX_RECURSIVE
extern int pthread_mutexattr_setkind_np __P ((pthread_mutexattr_t *__attr,
extern "C" int pthread_mutexattr_setkind_np __P ((pthread_mutexattr_t *__attr,
int __kind));
#define PTHREAD_MUTEX_RECURSIVE PTHREAD_MUTEX_RECURSIVE_NP
#define pthread_mutexattr_settype(x,y) pthread_mutexattr_setkind_np(x,y)
Expand Down

0 comments on commit af61130

Please sign in to comment.