From 60bdea5b856f906e1fd6c205b5f54fa5fa547412 Mon Sep 17 00:00:00 2001 From: Max Lv Date: Thu, 30 Jul 2015 16:19:19 +0800 Subject: [PATCH] update a marco of detecting linux --- src/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common.h b/src/common.h index 43a3183d..df855b56 100644 --- a/src/common.h +++ b/src/common.h @@ -23,7 +23,7 @@ #define _COMMON_H // only enable TCP_FASTOPEN on linux -#if __linux +#if defined(__linux__) /* conditional define for TCP_FASTOPEN */ #ifndef TCP_FASTOPEN