1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-12-22 04:02:04 +03:00

Code cleaning

#define GLIBC_CHK is useless
This commit is contained in:
hansipie
2015-07-09 01:33:35 +02:00
parent 6b86e05b4f
commit 73f2c23f90

View File

@@ -1152,10 +1152,6 @@ typedef struct tagTHREADNAME_INFO {
#include <sys/sendfile.h>
#endif
#if ((__GLIBC__ > 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 12)))
#define GLIBC_CHK
#endif
static void mg_set_thread_name(const char *name)
{
char threadName[16]; /* Max. thread length in Linux/OSX/.. */