]> git.eshelyaron.com Git - emacs.git/commitdiff
Delete duplicate 'min' macro
authorStefan Kangas <stefankangas@gmail.com>
Sun, 19 Jan 2025 16:15:20 +0000 (17:15 +0100)
committerEshel Yaron <me@eshelyaron.com>
Mon, 20 Jan 2025 18:51:27 +0000 (19:51 +0100)
* 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

index 3cb77b99997eca85bbe6d564c9b00b791a01b1f1..fe6a0412a9bb71b91676847051c46498b677944c 100644 (file)
@@ -1277,10 +1277,6 @@ License along with this library.  If not, see <https://www.gnu.org/licenses/>.
    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);