소스 검색

Code cleaning

#define GLIBC_CHK is useless
hansipie 10 년 전
부모
커밋
73f2c23f90
1개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 4
      src/civetweb.c

+ 0 - 4
src/civetweb.c

@@ -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/.. */