From c2cecafb488c1b13a0622c3af90fea8bddb8c7b8 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sun, 19 Jan 2025 17:15:20 +0100 Subject: [PATCH] Delete duplicate 'min' macro * src/gmalloc.c (min): Delete duplicate macro. We import lisp.h unconditionally, so it is always defined here. (cherry picked from commit f3b57fa519797df13f2e0ed9ebb097c37f5d71ce) --- src/gmalloc.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/gmalloc.c b/src/gmalloc.c index 3cb77b99997..fe6a0412a9b 100644 --- a/src/gmalloc.c +++ b/src/gmalloc.c @@ -1277,10 +1277,6 @@ License along with this library. If not, see . The author may be reached (Email) at the address mike@ai.mit.edu, or (US mail) as Mike Haertel c/o Free Software Foundation. */ -#ifndef min -#define min(a, b) ((a) < (b) ? (a) : (b)) -#endif - /* Debugging hook for realloc. */ static void *(*grealloc_hook) (void *, size_t); -- 2.39.5