]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1237: Compile error with C89 compiler in term.c v9.1.1237
authorHirohito Higashi <h.east.727@gmail.com>
Tue, 25 Mar 2025 19:08:32 +0000 (20:08 +0100)
committerChristian Brabandt <cb@256bit.org>
Tue, 25 Mar 2025 19:08:32 +0000 (20:08 +0100)
commit2726821d389e08f8bb5630de1ee2d39ce0f53197
treeabb5291ed0e21be649beb4bdfb500911897dea45
parent35cb03648f5e29020a31069d3b6cd997e5608619
patch 9.1.1237: Compile error with C89 compiler in term.c

Problem:  Compile error with C89 compiler in term.c
          (Zoltan Arpadffy)
Solution: split out LOG_TR macro into 2 different macros. LOG_TR1 that
          takes only a single argument and LOG_TRN that takes 2
          arguments. Remove the use of ##__VA_ARGS__ since the macro is
          now always called with 2 arguments (Hirohito Higashi)

related: #16962
closes: #16969

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/term.c
src/version.c