]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
fix macro redefine for OSX
authorAlan T. DeKok <aland@freeradius.org>
Wed, 28 Jan 2026 18:29:24 +0000 (13:29 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 28 Jan 2026 18:29:24 +0000 (13:29 -0500)
src/lib/util/talloc.h

index cc810bf1723d6429e084bd549252295d90f067c5..97ec9307e4361a85629ab8c3e7f2f21e3a27cf17 100644 (file)
@@ -183,6 +183,7 @@ static inline TALLOC_CTX *_talloc_zero_pooled_object(const void *ctx,
 
 void           *_talloc_realloc_zero(const void *ctx, void *ptr, size_t elem_size, unsigned count, const char *name);
 
+#undef talloc_realloc_zero
 #define talloc_realloc_zero(_ctx, _ptr, _type, _count) \
     (_type *)_talloc_realloc_zero((_ctx), (_ptr), sizeof(_type), _count, #_type)