From b2294d84bf758b972ea63334f42eb72bf9d4b1a1 Mon Sep 17 00:00:00 2001 From: Shuduo Sang Date: Sat, 27 Feb 2021 20:11:12 +0800 Subject: [PATCH] [TD-3113] : remove curl from TDengine. fix compile for mac --- src/kit/taosdemo/taosdemo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/kit/taosdemo/taosdemo.c b/src/kit/taosdemo/taosdemo.c index 567983f578..020bf7fb01 100644 --- a/src/kit/taosdemo/taosdemo.c +++ b/src/kit/taosdemo/taosdemo.c @@ -46,9 +46,11 @@ #include #include "os.h" +#ifdef TD_WINDOWS #pragma comment ( lib, "ws2_32.lib" ) #pragma comment ( lib, "winmm.lib" ) #pragma comment ( lib, "wldap32.lib" ) +#endif #endif #include "cJSON.h" -- GitLab