Expr: add strdup alias for stand-alone build.

This commit is contained in:
antirez 2025-02-23 12:20:26 +01:00
parent e66a50ec3c
commit a9e02dfd29
1 changed files with 1 additions and 0 deletions

1
expr.c
View File

@ -16,6 +16,7 @@
#define RedisModule_Alloc malloc #define RedisModule_Alloc malloc
#define RedisModule_Realloc realloc #define RedisModule_Realloc realloc
#define RedisModule_Free free #define RedisModule_Free free
#define RedisModule_Strdup strdup
#endif #endif
#define EXPR_TOKEN_EOF 0 #define EXPR_TOKEN_EOF 0