From 8b28ec4edca1f800fa5ecfd3be3305eb8ed7f194 Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Thu, 18 Oct 2012 18:31:42 +0000
Subject: [PATCH] There is no #elsif

---
 src/xpdev/threadwrap.h | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/src/xpdev/threadwrap.h b/src/xpdev/threadwrap.h
index 86d132cb34..aec6920d20 100644
--- a/src/xpdev/threadwrap.h
+++ b/src/xpdev/threadwrap.h
@@ -102,13 +102,15 @@ pthread_mutex_t pthread_mutex_initializer_np(BOOL recursive);
 #if defined (__FreeBSD__) || defined (__OpenBSD__)
  #include <pthread_np.h>
  #define	SetThreadName(c)	pthread_set_name_np(pthread_self(),c)
-#elsif defined(__GLIBC__)
- #include <features.h>
- #if (__GLIBC__ > 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 12))
-  #define	SetThreadName(c)	pthread_setname_np(pthread_self(),c)
- #endif
 #else
- #define SetThreadName(c)
+ #if defined(__GLIBC__)
+  #include <features.h>
+  #if (__GLIBC__ > 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 12))
+   #define	SetThreadName(c)	pthread_setname_np(pthread_self(),c)
+  #endif
+ #else
+  #define SetThreadName(c)
+ #endif
 #endif
 
 #else
-- 
GitLab