Selaa lähdekoodia

Code cleaning

#define GLIBC_CHK is useless
hansipie 10 vuotta sitten
vanhempi
commit
73f2c23f90
1 muutettua tiedostoa jossa 0 lisäystä ja 4 poistoa
  1. 0 4
      src/civetweb.c

+ 0 - 4
src/civetweb.c

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