Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss')
-rw-r--r--libgloss/sparc_leon/mutex.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libgloss/sparc_leon/mutex.c b/libgloss/sparc_leon/mutex.c
index eb2c2996d..3f51fead3 100644
--- a/libgloss/sparc_leon/mutex.c
+++ b/libgloss/sparc_leon/mutex.c
@@ -23,9 +23,13 @@
*/
+#define pthread_mutex_t pthread_mutex_t_
+#define pthread_mutexattr_t pthread_mutexattr_t_
#include <sys/types.h>
#include <sys/lock.h>
#include <asm-leon/queue.h>
+#undef pthread_mutex_t
+#undef pthread_mutexattr_t
/*#include <sys/fsu_pthread_mutex.h>*/
typedef int pthread_protocol_t;