From 7026a5b3a4dd53034f3c663736fa01cf30179279 Mon Sep 17 00:00:00 2001 From: slguan Date: Wed, 14 Aug 2019 19:51:42 +0800 Subject: [PATCH] compile errors in windows client --- src/inc/tutil.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/inc/tutil.h b/src/inc/tutil.h index 41057d810d..901810c44e 100644 --- a/src/inc/tutil.h +++ b/src/inc/tutil.h @@ -234,6 +234,7 @@ int32_t __sync_val_compare_and_swap_32(int32_t *ptr, int32_t oldval, int32_t new int32_t __sync_add_and_fetch_32(int32_t *ptr, int32_t val); int64_t __sync_val_compare_and_swap_64(int64_t *ptr, int64_t oldval, int64_t newval); int64_t __sync_add_and_fetch_64(int64_t *ptr, int64_t val); +#define twrite write #ifndef PATH_MAX #define PATH_MAX 256 #endif -- GitLab